jeg har lavet en dsn-less forbindelse til en sql server 2000, den henter fint de første 2 query jeg fyre af sted men ved den tredje kommer følgende fejl
Run-time-error '-2147467259 (80004005)':
[Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionWrite (WriteFile())
Programmet virker fint på min win2000 computer som det er udviklet på samt på 2 andre win2000 computere jeg har teste det på, men på lige præcis en WinMe og en Win2000, selvfølgelig de 2 computere som programmet skal bruges på virker det ikke og returnerer overstående fejl.
Im not sure what you meen. Its the same program who at the first form correctly connects and execute my qyery to the SQL server but when i change form and want to send another query I get the error.
I am suggesting that there IS differences between your development PC's and production PC's. Check to make sure that there are no missing references and also that you are usingthe same SQL Server ODBC drivers!
What references are you refering to? I compile my project at the development PC and runt he .exe of it on both computers it are only working the developing pc and one of the other w2k computers in the company.
If your making a package and deployment (set-up kit) then there should be no problems with references, but if you just copy the EXE over then it will try and use the componenets it needs IF they are on the PC, if not then you will get problems. What about SQL ODBC driver, have you checked to see if they are using the same version?
Your VB program CAN NOT run on its own. It needs various DLL's etc which may or may not already exist on all PC's the EXE i sgetting used on.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.