Jump to content

choosesg

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by choosesg

  1. This code appears to be correct. I think the error that you are getting is caused by ole32.dll not being in your bin folder. This might be a problem with the mono configuration; I would try this: 1. Download ole32.dll here: http://dll-download.net/download-ole32.html 2. Unzip the file, and copy the dll to some place you can find it 3. Create a folder called bin, inside the root of your application 4. Upload ole32.dll to the bin folder that you just created. Then try running your site again. Thanks for replying! Have tried downloading and adding the ole32.dll file to bin: Still not working But have narrowed down the error! sorry about it seems like this line is throwing the error: Dim db As ADODB.Connection The aspx page fuctions well when i remove this. cant use ADODB? but i added the ADODB.dll in the bin folder as well. Please help and advice again. Greatly appreciated
  2. Thanks for replying! I have tried many times trial and error but still cant get it to work on: db.Open("Server=localhost;Port=5432;[Database]_[choosesg_main];[uid]_[choosesg];[Pwd]_[valid password];") On development I am currently using this which is working but now trying to deploy on heliohost: Dim db As ADODB.Connection db = New ADODB.Connection db.Open("Server=localhost;Port=5432;Database=choosesg_main;Uid=choosesg;Pwd=[valid password];") I have a Database created using phppgadmin, so database name should be correct. Using postgres currently. Please help me as I cant get my site up Thanks!
  3. ole32.dll Description: HTTP 500. Error processing request. found out that this happens when i try to connect to the postgres database. currently i used this: db.Open("DSN=PostgreSQL30;Server=localhost;Port=5432;Database=choosesg_main;Uid=choosesg;Pwd=[correct password];") is my connection string to the database correct? any help is greatly appreciated!
  4. Having a hard time trying to deploy my website, http://choosesggirls.heliohost.org/ Can anyone help me or point me in the direction of my error? I am trying to use ASPX with postgres database. Thanks! Username: choosesg ole32.dll Description: HTTP 500. Error processing request. Stack Trace: System.DllNotFoundException: ole32.dll at (wrapper managed-to-native) System.__ComObject:CoCreateInstance (System.Guid,intptr,uint,System.Guid,intptr&) at System.__ComObject.Initialize (System.Type t) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.__ComObject:Initialize (System.Type) at Mono.Interop.ComInteropProxy.CreateProxy (System.Type t) [0x00000] in <filename unknown>:0 at System.Runtime.Remoting.RemotingServices.CreateClientProxyForComInterop (System.Type type) [0x00000] in <filename unknown>:0 at System.Runtime.Remoting.Activation.ActivationServices.CreateProxyForType (System.Type type) [0x00000] in <filename unknown>:0 at <0x00000> <unknown method> at WebApplication1._Default.Page_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessLoad () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 --------------------------------------------------------------------------------
  5. Hi, Sorry to post here but I dont have premission to start a new topic and having serious problem with my deployment of website: http://choosesggirls.heliohost.org/ Error: Server Error in '/' Application ole32.dll Description: HTTP 500. Error processing request. Stack Trace: System.DllNotFoundException: ole32.dll at (wrapper managed-to-native) System.__ComObject:CoCreateInstance (System.Guid,intptr,uint,System.Guid,intptr&) at System.__ComObject.Initialize (System.Type t) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.__ComObject:Initialize (System.Type) at Mono.Interop.ComInteropProxy.CreateProxy (System.Type t) [0x00000] in <filename unknown>:0 at System.Runtime.Remoting.RemotingServices.CreateClientProxyForComInterop (System.Type type) [0x00000] in <filename unknown>:0 at System.Runtime.Remoting.Activation.ActivationServices.CreateProxyForType (System.Type type) [0x00000] in <filename unknown>:0 at <0x00000> <unknown method> at WebApplication1._Default.Page_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessLoad () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 Please help me! thanks!!
×
×
  • Create New...