Could not create type...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • The unProfessional

    Could not create type...

    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.Te stService'. - 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?

    --
    Bill Merrill
    Lead Developer
    Merchant Companion



  • The unProfessional

    #2
    Re: Could not create type...

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



    "The unProfessional" <spam@shitbits. com> wrote in message
    news:As-dneCqsu0Np-3cRVn-tA@mpowercom.ne t...[color=blue]
    > 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[/color]
    or[color=blue]
    > 5th file, the script failed to run on the server...
    >
    > Could not create type 'WebService1.Te stService'. - 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[/color]
    end[color=blue]
    > of a variable name) allows it to work again.
    >
    > This is remarkably strange/obnoxious/frustrating/etc ... has anyone
    > encountered anything like this?
    >
    > --
    > Bill Merrill
    > Lead Developer
    > Merchant Companion
    > http://www.merchantcompanion.com
    >
    >[/color]


    Comment

    Working...