The error message might be more helpful if we could see more of
your code, including the parts leading up to the line that triggered the
error!

        I would guess that if you comment out or remove everything
having to do with dcusers (not sure what that object is), your error
message will disappear.  Then it becomes a question of *why* is your
data object not being populated, which probably has something to do with
a connection failing.  

        I'd guess that your app is not able to reach the
database/datasource that is used to fill the dcusers object.  If you are
calling another object to do some of the work, make sure that object is
in debug mode so you can see original error message.

HTH,

Peter

-----Original Message-----
From: [email protected] On Behalf Of Ali Husain

Hi Guys..... I hate this one with a passion. : Object Reference Not Set
to An Instance Of An Object

This error statement is about as useful as : "Oops!  Its Broke"

I have a web application that works fine on //localhost/.....

But when I upload it to the web server it throws the error on this line:

mySql = "Create Table tmpRptDLGCorp" & randomfilename & _      <-----
More Specifically

            vbCrLf & "(" & _

            vbCrLf & " CallDate int, " & _

            vbCrLf & " " & dcusers(0).ToString & "Calls" & " int," & _

            vbCrLf & " " & dcusers(0).ToString & "Sales" & " int," & _

            vbCrLf & " " & dcusers(1).ToString & "Calls" & " int," & _

            vbCrLf & " " & dcusers(1).ToString & "Sales" & " int," & _

            vbCrLf & " " & dcusers(2).ToString & "Calls" & " int," & _

            vbCrLf & " " & dcusers(2).ToString & "Sales" & " int," & _

            vbCrLf & " " & dcusers(3).ToString & "Calls" & " int," & _

            vbCrLf & " " & dcusers(3).ToString & "Sales" & " int," & _

            vbCrLf & " " & dcusers(4).ToString & "Calls" & " int," & _

            vbCrLf & " " & dcusers(4).ToString & "Sales" & " int," & _

            vbCrLf & " " & dcusers(5).ToString & "Calls" & " int," & _

            vbCrLf & " " & dcusers(5).ToString & "Sales" & " int," & _

            vbCrLf & " " & "TotalCalls" & " int," & _

            vbCrLf & " " & "TotalSales" & " int," & _

            vbCrLf & " " & "Conversion" & " float " & _

            vbCrLf & ")"

 

Any Ideas.....

 

Thanks,

 

Ali



[Non-text portions of this message have been removed]




 
Yahoo! Groups Links



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to