473,387 Members | 1,365 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,387 software developers and data experts.

URGENT: User controls cause mapping errors

Hi

I need some help for a very urgent problem: When loading my user controls dynamically via

myUserControl = (MyUserControl) page.LoadControl("~/UserControls/MyUserControl.ascx");

I get the following error message from time to time:

"Failed to map the path '/MyApplication/WebApp/UserControls/MyUserControl.ascx'".

I cannot identify the reason for this error since it doesn't occur constantly but only from time to time. After that I have to restart the ASP.NET worker process to bring the application to life again... :-

Any ideas?

PontiMax
Nov 18 '05 #1
1 1049
Pointmax,

This is just a guess, but try using 8.3 standard names for your folders and files names. Try it as a test in another project and see if the issue pops up there. Also another test could be to disable anti-virus software on the server. Make sure you re-enable it later.

-Calvin Luttrell
ProjectThunder.com
Hi,

I need some help for a very urgent problem: When loading my user controls dynamically via

myUserControl = (MyUserControl) page.LoadControl("~/UserControls/MyUserControl.ascx");

I get the following error message from time to time:

"Failed to map the path '/MyApplication/WebApp/UserControls/MyUserControl.ascx'".

I cannot identify the reason for this error since it doesn't occur constantly but only from time to time. After that I have to restart the ASP.NET worker process to bring the application to life again... :-(


Nov 18 '05 #2

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

Similar topics

5
by: VbUser25 | last post by:
hi i need urgent responses.. i have some 15 checkboxex on a form... i want to 1st check the no. of checkboxes that are checked?? and then loop it that many times adn insert the quantities the...
4
by: John | last post by:
Hi all, This really is quite an urgent matter. I have a page with multiple, dynamically-loaded user controls and when a user clicks on a button, the whole form is submitted. Now at this stage...
6
by: Anonymous | last post by:
Hello, I am loading a usercontrol with the LoadControl method and need to pass some data to the property of that control. How can I do that? THanks
4
by: Timo | last post by:
Over the weekend, I am installing a website on a laptop so our sales staff can give a demonstration on Monday at a potential client site. Things are not working as expected. I'm hoping what's wrong...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
0
by: JohnyStyles | last post by:
I have a templated user control which looks like this: ----------------------------------------------------------------- <uc:MyUserControl runat=server> <TemplateProperty> </TemplateProperty>...
1
by: dasilva109 | last post by:
Hi guys I am new to C++ and need urgent help with this part of my code for a uni coursework I have to submit by Thursday //ClientData.h #ifndef CLIENTDATA_H #define CLIENTDATA_H #include...
0
by: FiOh | last post by:
Hi there, I'm new to VB but needs to write a program with VB for my project. My project is to write an application that will check if it's being run on a valid user by reading the PC Name. Next...
4
by: Adam Clauss | last post by:
I have a completely user-drawn user control in which I enabled transparency (follownig suggestions at...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.