"Access is denied." error in Infopath 2007 form + ASMX

I

Indigo Cowboy

Hi I designed simple form in infopath2007 for web service, form submits one
string to service created in vs2005, method is
[WebMethod]
public void SubmitString(string form)
{
}
When I press submit button on form, I get error
"Infopath cannot submit the form. An error occurred while the form was being
submitted. Access is denied." Web service is hosted in IIS, everything is on
local machine, I am new to Infopath and I am trying simple integration
scenario.

Can someone help me?
 
F

Filip VDD

Hi I designed simple form in infopath2007 for web service, form submits one
string to service created in vs2005, method is
[WebMethod]
public void SubmitString(string form)
{
}
When I press submit button on form, I get error
"Infopath cannot submit the form. An error occurred while the form was being
submitted. Access is denied." Web service is hosted in IIS, everything is on
local machine, I am new to Infopath and I am trying simple integration
scenario.

Can someone help me?


Hi,

Can you reach the webservice in your browser?
http://localhost/xxx/xxx.asmx

If yes, can you debug your webservice, our isn't it going so far?

Success,

Filip VDD
 
I

Indigo Cowboy

I cannot debug service because Infopath is not getting to web service, I
watched iis log and the call is not received at web server. I suppose that
the security problem occurs earlier. Web service is on local machine, I
checked from IE that localhost site is inside local sites security zone.

Filip VDD said:
Hi I designed simple form in infopath2007 for web service, form submits one
string to service created in vs2005, method is
[WebMethod]
public void SubmitString(string form)
{
}
When I press submit button on form, I get error
"Infopath cannot submit the form. An error occurred while the form was being
submitted. Access is denied." Web service is hosted in IIS, everything is on
local machine, I am new to Infopath and I am trying simple integration
scenario.

Can someone help me?


Hi,

Can you reach the webservice in your browser?
http://localhost/xxx/xxx.asmx

If yes, can you debug your webservice, our isn't it going so far?

Success,

Filip VDD
 
I

Indigo Cowboy

I found it on one blog, thanks to person that made this post:

"Changing the Internet Explorer Internet Options may help.

Internet Options -> Internet (or other applicable zone) -> Custom Level ->
Access data sources across domains (set to enable).



Make sure you also have the requisite permissions on your data store access
of course."

Indigo Cowboy
 
V

Vinay

Hi,

I've also gettign the same error.
But after making the chamges specified by you also i was not able to resolve
the error.

PS: I've the permissions on the web service
 
V

Vinay

Hi,

I've also gettign the same error.
But after making the chamges specified by you also i was not able to
resolve
the error.

PS: I've the permissions on the web service
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top