|
| HI!
The web page i'm using works when i do a "view in browser" in asp.net 2005
but when i try to access it through my company's network it gives several
errors:
1. Used to have an error in web.config file in the authentication="windows"
--> I delected it and it passed
2. Used to have an error in the connection to the database in the webconfig
file so i opened the connection inside the page.
3. Now it gives an error when i try to fill the table when my data.
I've tried a simple page - just writting "nonsense" there and it opened.
When i added a webUserControl (a menu was inside it) to the website and then
drag&dropped to my "nonsense" page it gave me an error.
------
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 <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
-------------------
what is going on? everything works if i just do view in browser, but if i
try to access it through the network nothing works! this last test project
only has the "nonsense" page and the UserWebControl. that's it. it doesn't
even have a web.config file. Why does it mention it?
If things work in the 'view in browser' shouldn't they work when accessed
through the network?
|
|