Ok interesting, on my local machine
And i did not do a good job of keeping track of the exact order....
but on my local machine
in which i have vis studio 2003 installed and IIS for win XP,
I copied the web.config file from the source code folder into the
inetpub\wwwroot folder b/c that is where the ASP engine was looking for it.
I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net 2.0
I run the http://localhost/gt/default.aspx and the page comes up
I go to my Server, which I configured to use asp.net 2.0, but i prohibit 2.0
and allow 1.1(I am sure there are some more configuration steps i need to
do.. but)
i tell IIS to use 1.1
copy the same web.config file to the wwwroot folder
and i get the error as reported below
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 1/17/2006
Time: 5:34:46 PM
User: N/A
Computer: TESTWEBSRVR-01
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 1/17/2006 5:34:46 PM
Event time (UTC): 1/17/2006 10:34:46 PM
Event ID: b94f072baf34454 899cece7704d12d 96
Event sequence: 18
Event occurrence: 3
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128 546
Trust level: Full
Application Virtual Path: /gt
Application Path: C:\Old mba db sourcefiles\GT\
Machine name: TESTWEBSRVR-01
Process information:
Process ID: 3016
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWO RK SERVICE
Exception information:
Exception type: HttpCompileExce ption
Exception message: C:\Old mba db sourcefiles\GT\ Default.aspx(27 ): error
BC30451: Name 'gbDevelopment' is not declared.
Request information:
Request URL: http://150.227.61.206/gt/Default.aspx
Request path: /gt/Default.aspx
User host address: 150.227.57.30
User: AXDFGT\loneque
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWO RK SERVICE
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWO RK SERVICE
Is impersonating: False
Stack trace: at
System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th virtualPath)
at
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPre compile)
at
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(HttpCon text
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPre compile)
at
System.Web.Comp ilation.BuildMa nager.GetVirtua lPathObjectFact ory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at
System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa th
virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t context,
String requestType, VirtualPath virtualPath, String physicalPath)
at
System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler (HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.Http Application.Map HttpHandler(Htt pContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at
System.Web.Http Application.Map HandlerExecutio nStep.System.We b.HttpApplicati on.IExecutionSt ep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Any ideas?? 6 2809
Or try reading though this blog at:- http://blogs.msdn.com/david.wang/arc...e_by_Side.aspx
Hope that helps
Patrick
"BookerW" <Bo*****@discus sions.microsoft .com> wrote in message
news:59******** *************** ***********@mic rosoft.com...
Ok interesting, on my local machine
And i did not do a good job of keeping track of the exact order....
but on my local machine
in which i have vis studio 2003 installed and IIS for win XP, I copied the web.config file from the source code folder into the inetpub\wwwroot folder b/c that is where the ASP engine was looking for
it. I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net
2.0 I run the http://localhost/gt/default.aspx and the page comes up
I go to my Server, which I configured to use asp.net 2.0, but i prohibit
2.0 and allow 1.1(I am sure there are some more configuration steps i need to do.. but) i tell IIS to use 1.1 copy the same web.config file to the wwwroot folder
and i get the error as reported below
Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1310 Date: 1/17/2006 Time: 5:34:46 PM User: N/A Computer: TESTWEBSRVR-01 Description: Event code: 3007 Event message: A compilation error has occurred. Event time: 1/17/2006 5:34:46 PM Event time (UTC): 1/17/2006 10:34:46 PM Event ID: b94f072baf34454 899cece7704d12d 96 Event sequence: 18 Event occurrence: 3 Event detail code: 0
Application information: Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128 546 Trust level: Full Application Virtual Path: /gt Application Path: C:\Old mba db sourcefiles\GT\ Machine name: TESTWEBSRVR-01
Process information: Process ID: 3016 Process name: w3wp.exe Account name: NT AUTHORITY\NETWO RK SERVICE
Exception information: Exception type: HttpCompileExce ption Exception message: C:\Old mba db sourcefiles\GT\ Default.aspx(27 ):
error BC30451: Name 'gbDevelopment' is not declared.
Request information: Request URL: http://150.227.61.206/gt/Default.aspx Request path: /gt/Default.aspx User host address: 150.227.57.30 User: AXDFGT\loneque Is authenticated: True Authentication Type: Negotiate Thread account name: NT AUTHORITY\NETWO RK SERVICE
Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWO RK SERVICE Is impersonating: False Stack trace: at System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th
virtualPath) at
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(HttpCon t
ext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at
System.Web.Comp ilation.BuildMa nager.GetVirtua lPathObjectFact ory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at
System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa t
h virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t
context, String requestType, VirtualPath virtualPath, String physicalPath) at
System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler (
HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.Http Application.Map HttpHandler(Htt pContext context,
String requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig) at
System.Web.Http Application.Map HandlerExecutio nStep.System.We b.HttpApplicati o
n.IExecutionSte p.Execute() at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& completedSynchr onously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Any ideas??
BookerW well since you have noticed you haven't installed it in the right
order
then try doing that.
Patrick
"BookerW" <Bo*****@discus sions.microsoft .com> wrote in message
news:59******** *************** ***********@mic rosoft.com...
Ok interesting, on my local machine
And i did not do a good job of keeping track of the exact order....
but on my local machine
in which i have vis studio 2003 installed and IIS for win XP, I copied the web.config file from the source code folder into the inetpub\wwwroot folder b/c that is where the ASP engine was looking for
it. I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net
2.0 I run the http://localhost/gt/default.aspx and the page comes up
I go to my Server, which I configured to use asp.net 2.0, but i prohibit
2.0 and allow 1.1(I am sure there are some more configuration steps i need to do.. but) i tell IIS to use 1.1 copy the same web.config file to the wwwroot folder
and i get the error as reported below
Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1310 Date: 1/17/2006 Time: 5:34:46 PM User: N/A Computer: TESTWEBSRVR-01 Description: Event code: 3007 Event message: A compilation error has occurred. Event time: 1/17/2006 5:34:46 PM Event time (UTC): 1/17/2006 10:34:46 PM Event ID: b94f072baf34454 899cece7704d12d 96 Event sequence: 18 Event occurrence: 3 Event detail code: 0
Application information: Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128 546 Trust level: Full Application Virtual Path: /gt Application Path: C:\Old mba db sourcefiles\GT\ Machine name: TESTWEBSRVR-01
Process information: Process ID: 3016 Process name: w3wp.exe Account name: NT AUTHORITY\NETWO RK SERVICE
Exception information: Exception type: HttpCompileExce ption Exception message: C:\Old mba db sourcefiles\GT\ Default.aspx(27 ):
error BC30451: Name 'gbDevelopment' is not declared.
Request information: Request URL: http://150.227.61.206/gt/Default.aspx Request path: /gt/Default.aspx User host address: 150.227.57.30 User: AXDFGT\loneque Is authenticated: True Authentication Type: Negotiate Thread account name: NT AUTHORITY\NETWO RK SERVICE
Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWO RK SERVICE Is impersonating: False Stack trace: at System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th
virtualPath) at
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(HttpCon t
ext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at
System.Web.Comp ilation.BuildMa nager.GetVirtua lPathObjectFact ory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at
System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa t
h virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t
context, String requestType, VirtualPath virtualPath, String physicalPath) at
System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler (
HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.Http Application.Map HttpHandler(Htt pContext context,
String requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig) at
System.Web.Http Application.Map HandlerExecutio nStep.System.We b.HttpApplicati o
n.IExecutionSte p.Execute() at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& completedSynchr onously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Any ideas??
But on the Server, would i have been able to install asp.net 2.0 without
setting up IIS first. On the local machine, I actually installed Visutal
Studio 2003. I don't think I have to install that on my Windows 2003 server
do I ?
So on my server I have Microsoft.net framework 2.0 installed. I will keep
reading as I respond to this post, but I did not think the order of the .net
framework and IIS would not have the same effect of how I loaded it on my xp
box.
Maybe I am not understanding the difference between the full install of my
visual studio 2003 and IIS on my XP box, and the .net 2.0 framework and IIS
on my windows 2003 web server.
But thanks for the leads thus far..!!!
"Patrick.O. Ige" wrote: BookerW well since you have noticed you haven't installed it in the right order then try doing that. Patrick
"BookerW" <Bo*****@discus sions.microsoft .com> wrote in message news:59******** *************** ***********@mic rosoft.com...
Ok interesting, on my local machine
And i did not do a good job of keeping track of the exact order....
but on my local machine
in which i have vis studio 2003 installed and IIS for win XP, I copied the web.config file from the source code folder into the inetpub\wwwroot folder b/c that is where the ASP engine was looking for
it. I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net
2.0 I run the http://localhost/gt/default.aspx and the page comes up
I go to my Server, which I configured to use asp.net 2.0, but i prohibit
2.0 and allow 1.1(I am sure there are some more configuration steps i need to do.. but) i tell IIS to use 1.1 copy the same web.config file to the wwwroot folder
and i get the error as reported below
Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1310 Date: 1/17/2006 Time: 5:34:46 PM User: N/A Computer: TESTWEBSRVR-01 Description: Event code: 3007 Event message: A compilation error has occurred. Event time: 1/17/2006 5:34:46 PM Event time (UTC): 1/17/2006 10:34:46 PM Event ID: b94f072baf34454 899cece7704d12d 96 Event sequence: 18 Event occurrence: 3 Event detail code: 0
Application information: Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128 546 Trust level: Full Application Virtual Path: /gt Application Path: C:\Old mba db sourcefiles\GT\ Machine name: TESTWEBSRVR-01
Process information: Process ID: 3016 Process name: w3wp.exe Account name: NT AUTHORITY\NETWO RK SERVICE
Exception information: Exception type: HttpCompileExce ption Exception message: C:\Old mba db sourcefiles\GT\ Default.aspx(27 ): error BC30451: Name 'gbDevelopment' is not declared.
Request information: Request URL: http://150.227.61.206/gt/Default.aspx Request path: /gt/Default.aspx User host address: 150.227.57.30 User: AXDFGT\loneque Is authenticated: True Authentication Type: Negotiate Thread account name: NT AUTHORITY\NETWO RK SERVICE
Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWO RK SERVICE Is impersonating: False Stack trace: at System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th virtualPath) at System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(HttpCon t ext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at System.Web.Comp ilation.BuildMa nager.GetVirtua lPathObjectFact ory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa t h virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler ( HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.Http Application.Map HttpHandler(Htt pContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.Http Application.Map HandlerExecutio nStep.System.We b.HttpApplicati o n.IExecutionSte p.Execute() at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& completedSynchr onously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Any ideas??
ok, i uninstalled asp.net 2.0 and just running iis with whatever is default
with iis on a w2k3 box with sp1
Now, i put in a dummy index.htm file and deleted and recreated a new virtual
directory. When i set iis to use index.htm, my page comes up. When i tell
it to use default.aspx first, i get the following error:
Server Error in '/gtdb' 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>
Any ideas?
"Patrick.O. Ige" wrote: Or try reading though this blog at:- http://blogs.msdn.com/david.wang/arc...e_by_Side.aspx Hope that helps Patrick
"BookerW" <Bo*****@discus sions.microsoft .com> wrote in message news:59******** *************** ***********@mic rosoft.com...
Ok interesting, on my local machine
And i did not do a good job of keeping track of the exact order....
but on my local machine
in which i have vis studio 2003 installed and IIS for win XP, I copied the web.config file from the source code folder into the inetpub\wwwroot folder b/c that is where the ASP engine was looking for
it. I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net
2.0 I run the http://localhost/gt/default.aspx and the page comes up
I go to my Server, which I configured to use asp.net 2.0, but i prohibit
2.0 and allow 1.1(I am sure there are some more configuration steps i need to do.. but) i tell IIS to use 1.1 copy the same web.config file to the wwwroot folder
and i get the error as reported below
Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1310 Date: 1/17/2006 Time: 5:34:46 PM User: N/A Computer: TESTWEBSRVR-01 Description: Event code: 3007 Event message: A compilation error has occurred. Event time: 1/17/2006 5:34:46 PM Event time (UTC): 1/17/2006 10:34:46 PM Event ID: b94f072baf34454 899cece7704d12d 96 Event sequence: 18 Event occurrence: 3 Event detail code: 0
Application information: Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128 546 Trust level: Full Application Virtual Path: /gt Application Path: C:\Old mba db sourcefiles\GT\ Machine name: TESTWEBSRVR-01
Process information: Process ID: 3016 Process name: w3wp.exe Account name: NT AUTHORITY\NETWO RK SERVICE
Exception information: Exception type: HttpCompileExce ption Exception message: C:\Old mba db sourcefiles\GT\ Default.aspx(27 ): error BC30451: Name 'gbDevelopment' is not declared.
Request information: Request URL: http://150.227.61.206/gt/Default.aspx Request path: /gt/Default.aspx User host address: 150.227.57.30 User: AXDFGT\loneque Is authenticated: True Authentication Type: Negotiate Thread account name: NT AUTHORITY\NETWO RK SERVICE
Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWO RK SERVICE Is impersonating: False Stack trace: at System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th virtualPath) at System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(HttpCon t ext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at System.Web.Comp ilation.BuildMa nager.GetVirtua lPathObjectFact ory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa t h virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler ( HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.Http Application.Map HttpHandler(Htt pContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.Http Application.Map HandlerExecutio nStep.System.We b.HttpApplicati o n.IExecutionSte p.Execute() at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& completedSynchr onously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Any ideas??
Some more info,
When i run this locally on the machine, using anonymous authentication ,it
tells me that a global variable that I declared is not referenced, howvever
that same code run on my local xp box and debugged, runs just fine, both as http://localhost/gtdb, and inside of visual studio. I guess my challenge is
to find out what specifically my IIS box is having a problem with, with the
code.
"BookerW" wrote: ok, i uninstalled asp.net 2.0 and just running iis with whatever is default with iis on a w2k3 box with sp1
Now, i put in a dummy index.htm file and deleted and recreated a new virtual directory. When i set iis to use index.htm, my page comes up. When i tell it to use default.aspx first, i get the following error:
Server Error in '/gtdb' 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> Any ideas?
"Patrick.O. Ige" wrote:
Or try reading though this blog at:- http://blogs.msdn.com/david.wang/arc...e_by_Side.aspx Hope that helps Patrick
"BookerW" <Bo*****@discus sions.microsoft .com> wrote in message news:59******** *************** ***********@mic rosoft.com...
Ok interesting, on my local machine
And i did not do a good job of keeping track of the exact order....
but on my local machine
in which i have vis studio 2003 installed and IIS for win XP, I copied the web.config file from the source code folder into the inetpub\wwwroot folder b/c that is where the ASP engine was looking for
it. I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net
2.0 I run the http://localhost/gt/default.aspx and the page comes up
I go to my Server, which I configured to use asp.net 2.0, but i prohibit
2.0 and allow 1.1(I am sure there are some more configuration steps i need to do.. but) i tell IIS to use 1.1 copy the same web.config file to the wwwroot folder
and i get the error as reported below
Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1310 Date: 1/17/2006 Time: 5:34:46 PM User: N/A Computer: TESTWEBSRVR-01 Description: Event code: 3007 Event message: A compilation error has occurred. Event time: 1/17/2006 5:34:46 PM Event time (UTC): 1/17/2006 10:34:46 PM Event ID: b94f072baf34454 899cece7704d12d 96 Event sequence: 18 Event occurrence: 3 Event detail code: 0
Application information: Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128 546 Trust level: Full Application Virtual Path: /gt Application Path: C:\Old mba db sourcefiles\GT\ Machine name: TESTWEBSRVR-01
Process information: Process ID: 3016 Process name: w3wp.exe Account name: NT AUTHORITY\NETWO RK SERVICE
Exception information: Exception type: HttpCompileExce ption Exception message: C:\Old mba db sourcefiles\GT\ Default.aspx(27 ): error BC30451: Name 'gbDevelopment' is not declared.
Request information: Request URL: http://150.227.61.206/gt/Default.aspx Request path: /gt/Default.aspx User host address: 150.227.57.30 User: AXDFGT\loneque Is authenticated: True Authentication Type: Negotiate Thread account name: NT AUTHORITY\NETWO RK SERVICE
Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWO RK SERVICE Is impersonating: False Stack trace: at System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th virtualPath) at System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(HttpCon t ext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPre compile) at System.Web.Comp ilation.BuildMa nager.GetVirtua lPathObjectFact ory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa t h virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler ( HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.Http Application.Map HttpHandler(Htt pContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.Http Application.Map HandlerExecutio nStep.System.We b.HttpApplicati o n.IExecutionSte p.Execute() at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& completedSynchr onously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Any ideas??
Final solution that seemed to work:
Ok, the quick rundown
Fixed the ldap references In the code
Replaced the username and passwords for accounts in our domain (Remember
this code came from a separate company)
Installed Oracle Client software on Server
Installed Oracle OLE DB connectivity software (ODAC) from Oracle’s website.
This seemed to resolve the error I got in regards to the Oracle Client not
being found
Finally, the account used to access the database did not have the right to
view specific tables. It could see the list of tables, but not specific
tables.
My DBA had to create synonyms for the account used to access the database to
mimic the account that had ownership of the tables in the database.
At this point, I can now connect, perform queries on the tables, etc ,etc..
Wallah, thanks for the journey,
Thanks for all of your help
"BookerW" wrote: Some more info, When i run this locally on the machine, using anonymous authentication ,it tells me that a global variable that I declared is not referenced, howvever that same code run on my local xp box and debugged, runs just fine, both as http://localhost/gtdb, and inside of visual studio. I guess my challenge is to find out what specifically my IIS box is having a problem with, with the code. "BookerW" wrote:
ok, i uninstalled asp.net 2.0 and just running iis with whatever is default with iis on a w2k3 box with sp1
Now, i put in a dummy index.htm file and deleted and recreated a new virtual directory. When i set iis to use index.htm, my page comes up. When i tell it to use default.aspx first, i get the following error:
Server Error in '/gtdb' 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> Any ideas?
"Patrick.O. Ige" wrote:
Or try reading though this blog at:- http://blogs.msdn.com/david.wang/arc...e_by_Side.aspx Hope that helps Patrick
"BookerW" <Bo*****@discus sions.microsoft .com> wrote in message news:59******** *************** ***********@mic rosoft.com... > > > > Ok interesting, on my local machine > > And i did not do a good job of keeping track of the exact order.... > > but on my local machine > > in which i have vis studio 2003 installed and IIS for win XP, > I copied the web.config file from the source code folder into the > inetpub\wwwroot folder b/c that is where the ASP engine was looking for it. > > I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net 2.0 > > I run the http://localhost/gt/default.aspx and the page comes up > > I go to my Server, which I configured to use asp.net 2.0, but i prohibit 2.0 > and allow 1.1(I am sure there are some more configuration steps i need to > do.. but) > i tell IIS to use 1.1 > copy the same web.config file to the wwwroot folder > > and i get the error as reported below > > > Event Type: Warning > Event Source: ASP.NET 2.0.50727.0 > Event Category: Web Event > Event ID: 1310 > Date: 1/17/2006 > Time: 5:34:46 PM > User: N/A > Computer: TESTWEBSRVR-01 > Description: > Event code: 3007 > Event message: A compilation error has occurred. > Event time: 1/17/2006 5:34:46 PM > Event time (UTC): 1/17/2006 10:34:46 PM > Event ID: b94f072baf34454 899cece7704d12d 96 > Event sequence: 18 > Event occurrence: 3 > Event detail code: 0 > > Application information: > Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128 546 > Trust level: Full > Application Virtual Path: /gt > Application Path: C:\Old mba db sourcefiles\GT\ > Machine name: TESTWEBSRVR-01 > > Process information: > Process ID: 3016 > Process name: w3wp.exe > Account name: NT AUTHORITY\NETWO RK SERVICE > > Exception information: > Exception type: HttpCompileExce ption > Exception message: C:\Old mba db sourcefiles\GT\ Default.aspx(27 ): error > BC30451: Name 'gbDevelopment' is not declared. > > Request information: > Request URL: http://150.227.61.206/gt/Default.aspx > Request path: /gt/Default.aspx > User host address: 150.227.57.30 > User: AXDFGT\loneque > Is authenticated: True > Authentication Type: Negotiate > Thread account name: NT AUTHORITY\NETWO RK SERVICE > > Thread information: > Thread ID: 1 > Thread account name: NT AUTHORITY\NETWO RK SERVICE > Is impersonating: False > Stack trace: at > System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th virtualPath) > at > System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(VirtualPath > virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean > allowBuildInPre compile) > at > System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(HttpCon t ext > context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, > Boolean allowBuildInPre compile) > at > System.Web.Comp ilation.BuildMa nager.GetVirtua lPathObjectFact ory(VirtualPath > virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) > at > System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa t h > virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean > allowCrossApp, Boolean noAssert) > at System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t context, > String requestType, VirtualPath virtualPath, String physicalPath) > at > System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler ( HttpContext > context, String requestType, VirtualPath virtualPath, String physicalPath) > at System.Web.Http Application.Map HttpHandler(Htt pContext context, String > requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) > at > System.Web.Http Application.Map HandlerExecutio nStep.System.We b.HttpApplicati o n.IExecutionSte p.Execute() > at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean& > completedSynchr onously) > > > Custom event details: > > For more information, see Help and Support Center at > http://go.microsoft.com/fwlink/events.asp. > > > Any ideas?? >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jeff Lambert |
last post by:
We have a Windows client application written in delphi that connects
to Oracle 8i w/ ADO. We accumulate a lot of SQL statements in a loop
and finally send the strings list to be executed.
What I really need help with are the first three and the last three
statements. How would I rewrite those under Oracle to make sure they
have the same behaviour? BTW I know this isn't the best way to learn
Oracle PLSQL but I am under time constraints,...
|
by: Clay Beatty |
last post by:
When you create database diagrams in Enterprise Manager, the details
for constructing those diagrams is saved into the dtproperties table.
This table includes an image field which contains most of the relevant
infomation, in a binary format.
SQL Enterprise manager offers no way to script out those diagrams, so
I have created two Transact SQL components, one User Function and one
User Procedure, which together provide a means to script...
|
by: muzamil |
last post by:
To get rid of redundant data in a table, my cleint will be providing
something like this:
IDtokeep Ids to delete
34 24,35,49
12 14,178,1457
54 32,65,68
I have to write a script for each of the above rows which looks like
|
by: gabriel |
last post by:
Greetings,
I am adding foreign keys to a database and saving the generated scripts.
What I do not understand is that all script begin with empty
transactions. Why ?
Example follows :
/*
|
by: Yaro |
last post by:
Hello
DB2/NT 8.1.3
Sorry for stupid questions. I am newbe in DB2.
1. How can I read *.sql script (with table and function definitions) into a
database? Tool, command...
2. In Project Center I created funcion
CREATE FUNCTION DB2ADMIN.xxx( )
| |
by: ern |
last post by:
My command-line application must be able to run text scripts (macros).
The scripts have commands, comments, and flags. Comments are ignored
(maybe they are any line beginning with " ; ") Commands are executed
as if the user *manually* typed them in the console. Flags are special
commands that tell the program where to BREAK, LOOP, START. A typical
script may look like this:
; This is my script. It will test my mp3 player...
START:
|
by: C.Joseph Drayton |
last post by:
I have a problem that I am hoping someone can help me with.
First let me describe the problem. I have an HTML form that in one
field has an onBlur call to a JavaScript function. When you exit the
field, it calls the JavaScript routine, which in turn calls a PHP
script. The PHP script runs returns the value needed. And returns to
the JavaScript. The JavaScript function is then supposed to set
alerts depending on the values returned from...
|
by: m19peters |
last post by:
We have a script that I had to rework a little bit for 2005 that does
a full backup for every database on the server... For some reason on
some nights the script does not backup all databases... Its like it
skips over it for some reason... Output of the script below on the
night in question was:
Executed as user: NT AUTHORITY\SYSTEM. master
(Message 0) Status is ONLINE dbname / dbdevice = master / SQLBUmaster
(Message 0) Processed...
|
by: Jerim79 |
last post by:
Here it is:
<?php
if($_SERVER=='POST'){
$Number=$_POST;
$Email=$_POST;
$Number2=0;
$error=0;
|
by: Edwin.Madari |
last post by:
#your thought is right.
=======================================================
def sizes2fields(sizes):
d =
begin = 0
for i in sizes:
if begin:
end = begin + i
else: end = i
d.append((begin, end))
|
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...
| |
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,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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...
| |