473,386 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Compile error on ASP page.

Any tips for trouble shooting errors when the ASPX page won't even compile? What happens is that VS will "build" the code-behind object and the component that it instantiates, but when I navigate to the ASPX page, I get "An error occurred while try to load the string resources (GetModuleHandle failed with error - 2147023888). Then, I get the message about setting "Debug=true" directives. Those settings are in there.

It appears that what is happening is some kind of an error during the behind-the-scenes compilation of the ASPX page itself.

I have also seen an error saying that there wasn't sufficient privilege to access the component that my ASPX page calls.

So, any tips for how to trouble-shoot this and determine where the permissions are failing? I've tried looking at regmon and filemon, to no avail. But then perhaps I just don't know what I should be filtering on. (Aspnet_wp.exe doesn't seem to look anywhere in either the registry or the file system that appears related to my component.)

Thanks!

Lowell
Nov 18 '05 #1
4 1527
Do these errors occur across your entire site or do you have some pages that
are working? Can you provide details on the errors?

Dale

"Lowell" <th****@theyas.com> wrote in message
news:31**********************************@microsof t.com...
Any tips for trouble shooting errors when the ASPX page won't even compile? What happens is that VS will "build" the code-behind object and
the component that it instantiates, but when I navigate to the ASPX page, I
get "An error occurred while try to load the string resources
(GetModuleHandle failed with error - 2147023888). Then, I get the message
about setting "Debug=true" directives. Those settings are in there.
It appears that what is happening is some kind of an error during the behind-the-scenes compilation of the ASPX page itself.
I have also seen an error saying that there wasn't sufficient privilege to access the component that my ASPX page calls.
So, any tips for how to trouble-shoot this and determine where the permissions are failing? I've tried looking at regmon and filemon, to no
avail. But then perhaps I just don't know what I should be filtering on.
(Aspnet_wp.exe doesn't seem to look anywhere in either the registry or the
file system that appears related to my component.)
Thanks!

Lowell

Nov 18 '05 #2
Hi Lowell,
Thanks for posting in the community!
From your description, you found some of your ASP.NET web pages failed to
compile and encountered some certain errors saying there there wasn't
sufficient privilege to access the component that my ASPX page calls,yes?
If there is anything I misunderstood, please feel free to let me know.

Based on my experience, since you mentioned that the project and components
are well builed, this problem may be caused by some certain security issues
and is a runtime error. Would you please try the following steps:
1. Does the problem occur in any other generic web projects or just occcur
in the certain one?

2. If just occur in this particular one, does the problem occurs in every
page or just in some certain pages? If so, can you find any commons of
those certain pages with this problem?

3. Since you've also mentioned the "errors saying there there wasn't
sufficient privilege to access the component that my ASPX page calls",
would you please check all the components you've called in those error
pages or in your application? If there is any particular components you've
referenced in the project, you may try remove them(remove the reference or
those certain codes which calls these components) to see whether the
situation will change?

Please check out my suggestions. I think it'll be much better for us to
trouble-shoot if we could isolate the problem within a small scope. Also,
if you have any other ideas or new findings, please feel free to let me
know.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #3
Well, queue the theme from the "Twilight Zone". I tried taking out the references to the component from the ASPX (and code-behind page.) No dice. Not even when I removed the reference to the project. I tried some other pages and while my VB.NET ASPX pages worked, my C# ASPX pages did not

Then, I rebooted (hmm. I guess I hadn't done that in a while) and now my page (reference-less) worked. So, I started adding stuff back in. First, I just added the reference to the project that builds the component in "Solution Explorer". I got an error about finding another component which the component refers to. So, in "Solution Explorer", I went to my component, removed the reference and added it back. Now my page worked again (once I did a "Rebuild Solution" instead of just a "Build Solution"). Then, I added back everything else

I'm now getting an error from deep inside the component, but that's something I can figure out from here

So, it appears that this issue is closed...just a case of the "creeping crud" in memory

----- Steven Cheng[MSFT] wrote: ----

Hi Lowell
Thanks for posting in the community!
From your description, you found some of your ASP.NET web pages failed to
compile and encountered some certain errors saying there there wasn't
sufficient privilege to access the component that my ASPX page calls,yes
If there is anything I misunderstood, please feel free to let me know

Based on my experience, since you mentioned that the project and components
are well builed, this problem may be caused by some certain security issues
and is a runtime error. Would you please try the following steps
1. Does the problem occur in any other generic web projects or just occcur
in the certain one?

2. If just occur in this particular one, does the problem occurs in every
page or just in some certain pages? If so, can you find any commons of
those certain pages with this problem

3. Since you've also mentioned the "errors saying there there wasn't
sufficient privilege to access the component that my ASPX page calls",
would you please check all the components you've called in those error
pages or in your application? If there is any particular components you've
referenced in the project, you may try remove them(remove the reference or
those certain codes which calls these components) to see whether the
situation will change

Please check out my suggestions. I think it'll be much better for us to
trouble-shoot if we could isolate the problem within a small scope. Also,
if you have any other ideas or new findings, please feel free to let me
know.
Regards

Steven Chen
Microsoft Online Suppor

Get Secure! www.microsoft.com/securit
(This posting is provided "AS IS", with no warranties, and confers no
rights.
Nov 18 '05 #4
Hi Lowell,
Thanks for your followup. I'm glad that you've figured out the problem in
this issue. Also, if you need any assitance in the future, please always
feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #5

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

Similar topics

0
by: Jim Patterson | last post by:
I am trying to compile php with sablotron and I get this error message ===================================================================== FAILED TEST SUMMARY...
6
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked...
14
by: NRGeti | last post by:
I am learning ASP.NET using the book, "ASP.NET for Dummies". In the chapter introducing writing your own functions, I cannot get the example to run when I call it with LOCALHOST. It produces the IE...
2
by: Jon | last post by:
Has anyone ever come across this error? When working on Web Applications I get the following when compliling. When I reboot my pc and compile a basic ASPX I am ok for about 30 min. After that...
7
by: Holger (David) Wagner | last post by:
Hi Group, I've searched the Web for precompilers that compile ASPX/ASCX pages just like it can be done with JSPs, but so far, I've only found approaches targetted at increasing the performance....
6
by: Tom | last post by:
I am developing my pages on my development machine and then copying to the production server. I am not pre-compiling, I am using the 'dynamic compile' feature. This is working fine except that...
0
by: Tom | last post by:
I have a .net v2 asp.net problem. I develop on my workstation and deploy to a production server. I use compile on demand, so no pre-compile is done. When I deploy, I first must move in my new or...
1
by: Larry Epn | last post by:
I've created a project from Microsoft's "club.vsi". I don't want inline code so I've separated all aspx and ascx pages into code-behind pages. I'm compiling the project and continue to get this...
1
by: msarora | last post by:
I'm using SimpleTransform.java (renamed as ReceiptTransformer.java for custom use) found in xalan-j_2_7_0 samples directory for transformations in my custom application. The program compiles...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...

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.