Could not create type...

T

The unProfessional

I'm having an EXTREMELY strange problem... please take a look if you don't
mind.

I've written many .net applications, and have never had this problem.
However, suddenly on our webserver, I'm running into this problem. I've
conducted many experiments and I've narrowed down the behavior.

I recreated a blank test web service project, and started adding my files
one by one. I have a series of source files that contain a bunch of class
definitions. After adding each file, I tested the script. After the 4th or
5th file, the script failed to run on the server...

Could not create type 'WebService1.TestService'. - no additional useful
detail

So, I started commenting out chunks of the file I added most recently. I
got to the point where adding a single character will cause the whole
service to fail, and removing that single character (just a char at the end
of a variable name) allows it to work again.

This is remarkably strange/obnoxious/frustrating/etc ... has anyone
encountered anything like this?
 
T

The unProfessional

I should also mention that I've made no modifications to the machine.config
or the web.config for this test project.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top