ASP.NET and Godaddy, part 3

Sweet! Got everything working.

As I mentioned in the last post, I dropped back to square one and rebuilt the app one piece at a time to see where the problem was.

I got the login and register pages working first, then went to the data entry page.

Once I built my Linq objects, but before I referenced them, I uploaded everything one more time. I did a diff on the old and new web.config files to see what had changed. There were only two changes: 1) added new connection string and 2) added assembly info for Linq.

A quick check that everything worked well, then I added the code-behind to use the Linq objects to write the data to the database. 

Once everything was deployed, I hit the page and... 500 Internal Server Error.

This time I thought about the new App_Code directory where the Linq objects live. Since I did a website instead of a webapp, everything has to compile on the fly when it runs the first time... hmm. Think maybe that directory needs write permissions?

Added write permissions and, hey presto! Now the Linq data entry page works!

It was literally five more minutes to get the data view page working using a Grid View that uses a Linq object as its source.

One thing I did differently this time was change the name of the Linq datasource to something other than the default.

Now I move on to making things pretty. I'll also write up a more detailed set of instructions and post them. 

 

Posted on 4/22/2008 10:48:00 AM by jeffa

Permalink | Comments (20) | Post RSSRSS comment feed |

Categories: .Net

Tags: , , ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Comments

May 6. 2008 11:13

Pingback from the3factory.com

GoDaddy problems

the3factory.com

August 6. 2008 13:12


Great articles, hosting on godaddy is a bit of a pain to say the least, but I guess their security is a necessary evil. Looking forward to a step by step how to if ya get the time to finish this.

Dave Connors ca

August 6. 2008 13:20

Ooops, I had read post 1 and 3, looks like #2 has the step by step! Awesome job, thanks... Off to try to get it working.

Dave Connors ca

January 20. 2009 00:11

hi!!
thanks for a very useful information i got in this post!!i really enjoy reading it!thanks!!really really nice post!GREAT!!

Busby SEO Test us

March 3. 2009 11:35

I'm at godaddy.

Dan

March 16. 2009 02:47

another good thing for the blogengine and GoDaddy

Hits Tech Gadgets us

March 24. 2009 00:03

the ability of this post was they help many people to learn and to know this!!thanks for sharing..

gadgets in future us

March 28. 2009 06:03

This is exactly what I was looking for.
Thanks for sharing this great article!
That is very interesting Smile I love reading
and I am always searching for informative
information like this! You are bookmarked!
Thx,

RF Outsource us

May 27. 2009 01:28

Go Daddy is an Internet domain registrar and web hosting company that also sells e-business related software and services.

thatcom us

August 3. 2009 21:44

Awesome article and very interesting I love Godaddy, thanks!

Seo Services us

August 21. 2009 10:00

You certainly have a point there

Florida Beauty Schools facts ve

August 23. 2009 22:11

Thanks for sharing this article!
<a href="http:/www.ibowsolutions.com/algeria">WEB HOSTING</a>

soni sharma in

October 7. 2009 09:08

Nice blog thanks for sharing

Cheap SEO gb

October 16. 2009 13:56

I just hope to have understood this the way it was meant

personal loans us

October 25. 2009 09:19

I just hope to have understood this the way it was meant

cash loans us

October 26. 2009 10:11

Do you make money out of this blog? just curious

fast cash loans us

November 9. 2009 06:46

I was actually looking around for a blog post on this issue, but stumbled across your site on Google! I’m actually quite interested so will keep an eye out for updates Smile

Nosdo us

November 9. 2009 16:20

Thank you for your help!

paydayloans us

November 14. 2009 11:30

Thanks for sharing these useful information! Hope that you will continue doing nice article like this. I will be one of your loyal reader if you maintain this kind of post!

outsourcing help desk us

November 17. 2009 03:39

This is a cool screen idea ! It is very interesting indeed.Thank you for your info.i love to read all info.


Regards
Ansh

wholesale from china us

Comments are closed