By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,719 Members | 1,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,719 IT Pros & Developers. It's quick & easy.

ASP.NET application with separate IIS & File servers

P: n/a
Hello-

Your assistance with this issue is greatly appreciated.

Environment:
- Load-balanced IIS 6.0 servers (Win2003)
- web servers point (via UNC path) to a Microsoft File Cluster on
different machines.
- domain ASPNET account that handles the function/permissions of the
(traditionally) local machine ASP.NET account.

_____________

Situation:
- I already have an existing web site that runs on HTML, Classic ASP,
and some ASP.NET
- The web site has been re-designed to be using ASP.NET 2.0 (with
VB.Net) and Master Pages.
- The web site works fine in a single-server test environment.
- When I published the new application into the production
environment, JavaScript errors appear stating "Object Expected". It
appears as if the relative mapping no longer works.
- In both environments, I have "Enable Parent Paths" checked.

_____________

Error Msgs:

Error #1:

Event ID: 1309
Source: ASP.NET 2.0.50727.0

Event code: 3005
Event message: An unhandled exception has occurred.
Event sequence: 28
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root-2-128561109625468750
Trust level: Full
Application Virtual Path: /
Application Path: \\UNCShare\wwwroot\website.com\
Machine name: IISServerName

Process information:
Process ID: 9028
Process name: w3wp.exe
Account name: Domain\IWAM_DomainAccount

Exception information:
Exception type: WebException
Exception message: The remote name could not be resolved:
'www.website.com'

Request information:
Request URL: http://www.website.com/reports/page.aspx
Request path: /reports/page.aspx
User:
Is authenticated: False
Authentication Type:
Thread account name: Domain\IWAM_DomainAccount

Thread information:
Thread ID: 9
Thread account name: Domain\IWAM_DomainAccount
Is impersonating: False
Stack trace: at System.Net.WebClient.DownloadDataInternal(Uri
address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at System.Net.WebClient.DownloadData(String address)
at products_pbotproductsymbols.Page_Load(Object sender, EventArgs
e) in

\\UNCShare\wwwroot\website.com\pbot\reports\produc ts
\pbotproductsymbols.aspx.vb:line 13
at System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp,
Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object
sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

_______________________________

Error #2
Event ID: 1310
Source: ASP.NET 2.0.50727.0

Event code: 3006
Event message: A parser error has occurred.
Event sequence: 5
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/forms-1-128561110544531250
Trust level: Full
Application Virtual Path: /forms
Application Path: \\UNCShare\wwwroot\website.com\forms\
Machine name: IISServerName

Process information:
Process ID: 8984
Process name: w3wp.exe
Account name: Domain\ASPNET-Acct

Exception information:
Exception type: HttpParseException
Exception message: The virtual path '/MyMasterPage.master' maps to
another application, which is not allowed.

Request information:
Request URL: http://www.website.com/forms/formpage.aspx

Farrow&ContactName=WebContact&ContactSubject=Conta ct Web
Request path: /forms/formpage.aspx
User:
Is authenticated: False
Authentication Type:
Thread account name: Domain\ASPNET-Acct

Thread information:
Thread ID: 1
Thread account name: Domain\ASPNET-Acct
Is impersonating: False
Stack trace: at System.Web.UI.TemplateParser.ParseString(String
text, VirtualPath virtualPath, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseFile(String physicalPath,
VirtualPath virtualPath)
at System.Web.UI.TemplateParser.ParseInternal()
at System.Web.UI.TemplateParser.Parse()
at
System.Web.Compilation.BaseTemplateBuildProvider.g et_CodeCompilerType()
at
System.Web.Compilation.BuildProvider.GetCompilerTy peFromBuildProvider(BuildProvider
buildProvider)
at
System.Web.Compilation.BuildProvidersCompiler.Proc essBuildProviders()
at System.Web.Compilation.BuildProvidersCompiler.Perf ormBuild()
at System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath
virtualPath)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean

allowCrossApp, Boolean allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean

noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean

allowCrossApp, Boolean noAssert)
at
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType,

HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext
context, String requestType, VirtualPath virtualPath, String

physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(HttpContext
context, String requestType,

VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,
String requestType, VirtualPath path, String

pathTranslated, Boolean useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplication.IExecutionStep.Execute ()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)
Steve
Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.