Quantcast
Channel: Configuration and Deployment
Viewing all articles
Browse latest Browse all 3561

LinQ not working after hosting my project to server.

$
0
0

Hello, Yesterday I have created a website for my brother. After upload all project files, I checked the events. Connected/Disconnected events are working perfectly but all event that I created with LinQ, dosn't working. It's says, "Invalid object name 'dbo.ViewPortfolio'." Error Line is, "GridView1.DataSource = db.ViewPortfolios.ToList();"

Now I'm going to retouch all evnts to convert LinQ to Connected/Disconnected, but It's very painfull to me also it's not proper solution.

Please help me to release from this pain. Cry

best regards

ehsan


Viewing all articles
Browse latest Browse all 3561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>