如何在服务器上部署网站包含linq到类库中的sql类 [英] how to deploy website on server contain linq to sql classes in class library

查看:71
本文介绍了如何在服务器上部署网站包含linq到类库中的sql类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,我想上传到生产服务器,但它给出了500个内部服务器错误...我在我的解决方案中有两个类库项目和一个网站项目,我将两个类库引用到网站...我的类库使用linq到sql类文件连接数据库...

我的项目在本地运行完美..

解决方案

检查将customErrors模式设置为off,你的应用程序正在给出一些未处理的异常。



问候,

Santosh

i have a website that i want to upload on to production server but it gave 500 internal server error ...i have two class library project and one website project in my solution ,i give reference of both class library to the website ...And my class library made its connection to database using linq to sql classes file ...
My project run perfectly on local..

解决方案

Check with setting customErrors mode to off, your application is giving some unhandled exception.

Regards,
Santosh


这篇关于如何在服务器上部署网站包含linq到类库中的sql类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆