issue while running as asp.net application over wan
-
i have requirement of running my application over wan hence i used a fixed ip addres in browser i.e(fixed ipaddress//hostmachineip address//mk(virtual directory)/xyz.aspx(cs file))...and m getting follwing error while accessing my app over wan Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. i infact googled for this n made changes according to the experties advice but not able to overcome this issue ...what's wrong i am doing here?please anyone suggest me best oible solution to overcome this issue. Thanks
-
i have requirement of running my application over wan hence i used a fixed ip addres in browser i.e(fixed ipaddress//hostmachineip address//mk(virtual directory)/xyz.aspx(cs file))...and m getting follwing error while accessing my app over wan Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. i infact googled for this n made changes according to the experties advice but not able to overcome this issue ...what's wrong i am doing here?please anyone suggest me best oible solution to overcome this issue. Thanks
-
i have requirement of running my application over wan hence i used a fixed ip addres in browser i.e(fixed ipaddress//hostmachineip address//mk(virtual directory)/xyz.aspx(cs file))...and m getting follwing error while accessing my app over wan Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. i infact googled for this n made changes according to the experties advice but not able to overcome this issue ...what's wrong i am doing here?please anyone suggest me best oible solution to overcome this issue. Thanks
That message is telling you the real message is being hidden. Do what it says and turn custom messages off to see the real error message.
-
That message is telling you the real message is being hidden. Do what it says and turn custom messages off to see the real error message.
yes i did custoerrors mode =Off in web.config file but not result
-
yes i did custoerrors mode =Off in web.config file but not result
Then the web config you think your site is using isn't the one that it *is* using so your site\virtual directory is probably misconfigured.
-
Then the web config you think your site is using isn't the one that it *is* using so your site\virtual directory is probably misconfigured.
but its working fine in LAN but not WAN....hence how should i resolve this issue now..if not configured then it wouldnt have worked over lan ?
-
but its working fine in LAN but not WAN....hence how should i resolve this issue now..if not configured then it wouldnt have worked over lan ?
Check the application event log on the server. The error should be logged there. We can't see your code, and we can't access your server. Without the error, we can't even begin to tell you what's wrong.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Check the application event log on the server. The error should be logged there. We can't see your code, and we can't access your server. Without the error, we can't even begin to tell you what's wrong.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Thanks for the response... but when i checked event log on server then found an event called wpn connection failure which is just new to me...what is all about this?
-
Then the web config you think your site is using isn't the one that it *is* using so your site\virtual directory is probably misconfigured.
one more doubt when m accessing my application using fixed ip adddress then i should type in browser as follwow fixed ip adrees//ip address of host machine?? when i did so then got follwing message in 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. since i have installed iis in my host machine in this way if i access my application with above entry then it should show me iis page not the 404 instead?...please correct me if i am wrong....n do help me with solutions. Thanks
-
one more doubt when m accessing my application using fixed ip adddress then i should type in browser as follwow fixed ip adrees//ip address of host machine?? when i did so then got follwing message in 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. since i have installed iis in my host machine in this way if i access my application with above entry then it should show me iis page not the 404 instead?...please correct me if i am wrong....n do help me with solutions. Thanks
For your site to be accessible via just the IP the site has to be mapped accordingly so that all requests for the IP go to your site (or all requests in general by leaving the "hostname" empty in the bindings). At the end of the day your site is wrongly configured, we can't access your IIS settings, we don't know how you've set it up. I'd spend some time learning how you configure sites and how IIS works, as just repeatedly saying that your site doesn't work is like phoning a mechanic and saying "My car doesn't work, what's wrong?"
-
For your site to be accessible via just the IP the site has to be mapped accordingly so that all requests for the IP go to your site (or all requests in general by leaving the "hostname" empty in the bindings). At the end of the day your site is wrongly configured, we can't access your IIS settings, we don't know how you've set it up. I'd spend some time learning how you configure sites and how IIS works, as just repeatedly saying that your site doesn't work is like phoning a mechanic and saying "My car doesn't work, what's wrong?"
i have already configured my host machine ip address to my router with which host machine is connected with ...hence i just need to type a publice ip address on the browser of remote machine and ip addres of host machine like below public ip address//host machine ip address configured to the router in this way once i type above in remote machine my iis page should be displayed ....but its giving error that serever not found....which is not the case when i am doing the same in LAN ....infact my app is working fine....only while making it work over WAN m getting the issues....please let me know where i am going wrong Thanks
-
Thanks for the response... but when i checked event log on server then found an event called wpn connection failure which is just new to me...what is all about this?
That error is unlikely to be related to the problem. It sounds like the request isn't reaching your server. It's probably a router or firewall configuration issue.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
That error is unlikely to be related to the problem. It sounds like the request isn't reaching your server. It's probably a router or firewall configuration issue.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
ohk thanks for the reply but i have checked it ...n configuration is done perfectly ...anyway will go through firewall settings