The file '/Default.aspx' has not been pre-compiled, and cannot be requested.

Trying to do a patch release.

Site built with Web deployment projects.  It is set to be not updatable (which I believe means it will compile everything into a DLLs right?).

 I am trying to update a 3rd party dll.  I go into every bin folder that has it and copy the newest version into each folder.

I checked my web.config file to ensure that my 3rd party dll does not have version specified in it, which it doesn't.  We are not using multilpe version of the dlll.  One version only.

When I try to run the site I get

The file '/Default.aspx' has not been pre-compiled, and cannot be requested.

What does this mean and how can I resolve it?


Thanks,


Angela
angelalawAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Juan_BarreraCommented:
You need to first recompile, and then redeploy, the site with the new .dll. You can't just copy and paste it.
You get that error because the site was compiled against the older version of your 3rd party dll.
0
angelalawAuthor Commented:
Thanks so much for your response :)

Is there anyway to release patched versions of it?

Ie windows constantly updates there DLLS... Many pieces of software use those DLLs.  When windows updates your machine, you are not required to recompile every piece of software that is installed inorder to get it to work.

This is the scenario I want to do?
0
Juan_BarreraCommented:
I know what you mean, but if the application is precompiled, it used a specific version of the 3rd party library while compiling. It's like the 3rd party dll becames part of your dll.
A way to "patch" it, would be to have separate projects, thus separate .dlls, instead of one big application. Then, you can deploy smaller projects.
Another way, NOT recommended, would be to just copy your site, uncompiled. ASP.NET compiles files on the fly if needed, so that why you can do it this way.
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

angelalawAuthor Commented:
Hi Juan,

Right now we have 6 different projects in one solution.  Each having this DLL in its bin directories.

When I look at the output for the release folder for the entire site.  I see it still has the third party dll in its bin directory.  So, it doesn't appear to be merign the thrid party dll in with the overal projects.

Again I really appreciate your help,

Angela
0
Juan_BarreraCommented:
Angela,
It's not merging "per se", meaning that is not integrating the dll into yours, as in one file.
What is happening is that the code in your project that references (uses) that 3rd party .dll "knows" which assembly version of it was compiled against, so, if you just change the dll without updating those "references" (meaning: recompile), it will fail.
That's what I wanted to explain before, maybe the part "3rd party dll becames part of your dll" wasn't the best way to explain it, but you see what I meant now.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
angelalawAuthor Commented:
Thank you
0
reacharumCommented:
remove your asp.net templorary files and runit in prod.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.