开发者

What is my problem with ASP.NET pubslishing?

开发者 https://www.devze.com 2022-12-27 13:47 出处:网络
I am done testing my site and I want to upload it to a site like this http://www.university.edu/mydepartment/myname

I am done testing my site and I want to upload it to a site like this

http://www.university.edu/mydepartment/myname

the admin told me the server r开发者_开发百科uns on .NET 3.5. So i used Linq ...

now i tried to upload the site by two ways:

when i just copy everything (with modification of web.config database settings) i get an error:

CS0246: The type or namespace name 'DataClassesDataContext' could not be found (are you missing a using directive or an assembly reference?)

Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

Note here it says version 2.0 did he just lie to me? or its my configuration mistake?

anyway, i added the reference, nothing changes.

I tried also publishing (Build, publish) with option to keep the pre-comiled site updatable, and I get one line saying:

this is a makefile and should be deleted!

what is going on?


It looks like it can't find your DBML file, or your DBML file isn't called "DataClasses.dbml". Also, the .NET Framework Version is not lying. It is reporting the CLR version, which is still 2.0 for the 3.5 .NET Framework.

0

精彩评论

暂无评论...
验证码 换一张
取 消