Sunday, June 20, 2004 - Posts

Putting my app on the web problems :(

Hey i had/have some problems with my host and stuff :(

The first one was that i needed to get my DB from home onto the server of the webhost.
There are a couple of ways to do this you can use the Import and Export Data that is with your SQL server then you can select your host that you want to copy the data from after that you can select the server where you want the data to and then the way to copy it pritty Straight forward, but the problem i had with it was that some options like auto increment didn't get tranfered so i found my self a other way.

I opened Enterprise Manager and generated a SQL query from the DB i had after that i opened Query Analyzer and connected to my Server DB and executed the sql that i generated, then i found yet a problem witch i fixed manualy the Primary Keys did get transfert right.

The second problem was i had some problem with my mail server on the host and i had a nice Try Catch but i just wanted to comment it out witch i did but it didn't work and didn't work and i was going mad until Peter told me that i needed to build at my local pc and not just upload the .cs but also the projects .dll and the problem was Fixed :D:D:D

That was it for now will get back with more stupid bull s**t
Happy Junking later

Can Send mail (503 This mail server requires authentication)

Hey all,

I'm finaly in the completing fase of my school project YAY :D
I wrote a blog Sending Mail using C# a while ago and a well now i'm having the problem on my server that i can't send mail this is because i need to send some login info for the mail server the way to do this is following (MMessage is the Mail message):

MMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); //basic authentication
MMessage.Fields.Add("
http://schemas.microsoft.com/cdo/configuration/sendusername", "my_username_here"); //set your username here
MMessage.Fields.Add("
http://schemas.microsoft.com/cdo/configuration/sendpassword", "super_secret"); //set your password here

I got this solution on http://systemwebmail.com/faq/3.8.aspx so if you need some more info get it there :)

Happy Netting