473,624 Members | 2,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET and MS-SQL debug info?

Hello can anyone help me with a MS-SQL2000 install
and .Net + windows2000 advance server.

I installed everything, and everything works fine on its
own. But when i try to run my ASP.NET application it
gives me a very basic error message, and i can not figure
out what is wrong with the application, i have included
the error message below.

The problem is that it is not specific enough to track
down the problem, although i'm pretty sure it is MS-SQL
Server specific since i can access parts of my
application that do not connect to the MS-SQL server,

Please help !!! :( At least so i can figure out how i
can get some detailed debug messages out of the error
page...
Server Error in '/MyApplication' Application.
----------------------------------------------------------
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 -->

<configuratio n>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be
replaced by a custom error page by modifying
the "defaultRedirec t" attribute of the application's
<customErrors > configuration tag to point to a custom
error page URL.
<!-- Web.Config Configuration File -->

<configuratio n>
<system.web>
<customErrors mode="RemoteOnl y"
defaultRedirect ="mycustompage. htm"/>
</system.web>
</configuration>
..
Nov 17 '05 #1
2 5691
CT
You need to edit the Web.config file as suggested, <customErrors
mode="Off"/>, or run the web app on the server. Then you'll see the detailed
error description.

--
Carsten Thomsen
Enterprise Development with Visual Studio .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Artmic" <ad*@dhal.com > wrote in message
news:05******** *************** *****@phx.gbl.. .
Hello can anyone help me with a MS-SQL2000 install
and .Net + windows2000 advance server.

I installed everything, and everything works fine on its
own. But when i try to run my ASP.NET application it
gives me a very basic error message, and i can not figure
out what is wrong with the application, i have included
the error message below.

The problem is that it is not specific enough to track
down the problem, although i'm pretty sure it is MS-SQL
Server specific since i can access parts of my
application that do not connect to the MS-SQL server,

Please help !!! :( At least so i can figure out how i
can get some detailed debug messages out of the error
page...
Server Error in '/MyApplication' Application.
----------------------------------------------------------
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 -->

<configuratio n>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be
replaced by a custom error page by modifying
the "defaultRedirec t" attribute of the application's
<customErrors > configuration tag to point to a custom
error page URL.
<!-- Web.Config Configuration File -->

<configuratio n>
<system.web>
<customErrors mode="RemoteOnl y"
defaultRedirect ="mycustompage. htm"/>
</system.web>
</configuration>
.

Nov 17 '05 #2
Thanks for the help,
so in other words, i should run the web-application like
this:

http://myComputer/myFolder/myApplication.aspx

right?

Thanks.
-----Original Message-----
You need to edit the Web.config file as suggested, <customErrorsmode="Off"/>, or run the web app on the server. Then you'll see the detailederror description.

--
Carsten Thomsen
Enterprise Development with Visual Studio .NET, UML, and MSFhttp://www.apress.com/book/bookDisplay.html?bID=105
"Artmic" <ad*@dhal.com > wrote in message
news:05******* *************** ******@phx.gbl. ..
Hello can anyone help me with a MS-SQL2000 install
and .Net + windows2000 advance server.

I installed everything, and everything works fine on its own. But when i try to run my ASP.NET application it
gives me a very basic error message, and i can not figure out what is wrong with the application, i have included
the error message below.

The problem is that it is not specific enough to track
down the problem, although i'm pretty sure it is MS-SQL
Server specific since i can access parts of my
application that do not connect to the MS-SQL server,

Please help !!! :( At least so i can figure out how i
can get some detailed debug messages out of the error
page...
Server Error in '/MyApplication' Application.
------------------------------------------------------- --- 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 -->

<configuratio n>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be
replaced by a custom error page by modifying
the "defaultRedirec t" attribute of the application's
<customErrors > configuration tag to point to a custom
error page URL.
<!-- Web.Config Configuration File -->

<configuratio n>
<system.web>
<customErrors mode="RemoteOnl y"
defaultRedirect ="mycustompage. htm"/>
</system.web>
</configuration>
.

.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
9237
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works only exporting to single worksheet. but i need to export data to multiple worksheets. it is very urgent to us. so please help me in code.
3
3239
by: Christian McArdle | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.os.ms-windows.programmer.64bit This is a formal Request For Discussion (RFD) to create comp.os.ms-windows.programmer.64bit as an unmoderated world-wide Usenet newsgroup dedicated to the discussion of Microsoft Windows 64-bit programming. This is not a Call for Votes (CFV); you cannot vote at this time. Procedural details appear below. All followup discussion should be crossposted to...
2
14904
by: Daniel | last post by:
I use an Access database to basically take data exports, import them, manipulate the data, and then turn them into exportable reports. I do this using numerous macros, and queries to get the data in the format that I need it in order to create the reports that we use. So far this has proven to be successful for the reports that I am doing and the data that I am pulling into it. I just have one challenge that may require a lot of work and I...
7
2510
by: Ronnie | last post by:
I'm curious if anyone has any insights into what Microsoft has in store for ACCESS in current or future releases? I'm currently working on Access 2000 and haven't seen the newer versions. I'm curious if Microsoft will keep VBA or move ACCESS over to VB.NET or C#? Thanks.
47
4513
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small company and this is a big decision for us(!) It's not just the money it's committing to an new version of Access!
92
7630
by: Jeffrey P via AccessMonster.com | last post by:
Our IT guys are on a vendetta against MS Access (and Lotus Notes but they've won that fight). What I can't understand is, what's the problem? Why does IT hate MS Access so much. I have tried to find out who it is that actually wants to get rid of it, but I can't find anyone who will admit to trying to get rid of it. Nevertheless, I'm always hearing about how their "phasing it out" or "getting rid of it". Because no-one owns up I can't...
0
2101
by: com | last post by:
MS Access 2000 Password Recoverer 4.2 Screenshot - Soft30.com MS Access 2000 Password Recoverer will display the password to a MS Access database (*.mdb). This program works for MS Access files saved in MS Access 2000. ... www.soft30.com/screen-149-12232.htm - 32k - Cached - Similar pages MS Access HTML Help Generator 1.2 - Soft.com MS Access HTML Help Generator 1.2. ... System Requirements: MS Access 2000 / XP /
10
2756
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
36
3443
by: Alex Martelli | last post by:
So, I thought I'd tool up to let me build and test Python extensions on Windows (as well as Mac and Linux) -- I'm trying out Parallels Workstation beta on my new Macbook Pro (and so far it seems to work very well), I bought and installed a Win2000 Pro on it (since according to the grapevine it works better than XP in various kinds of virtual machines, and almost all SW supports w2k anyway -- I also found out that one exception is the...
4
1996
by: PabsBath | last post by:
Hello, help please. I have been pulling my hair out for a few weeks now and been looking on the web for answers but not managed to find anything!! I'm currently operating a small (2mb - approx 4500 records) MS Access database on my new laptop that has MS Vista. I'm also using MS Office (with MS Access) 2003. I'm the only user on the laptop. The database was design and still is in MS Access 2000 version because it needs to be used on...
0
8168
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8672
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8614
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8330
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6107
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4075
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4167
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1474
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.