Showing posts with label product. Show all posts
Showing posts with label product. Show all posts

Thursday, March 29, 2012

Error when updating bigint columns using ADO

I am attempting to write a conversion of our product for Compact Edition; we already provide it based on SQL Server. The database interface uses ADO through a Python-win32com adaptor, and has worked fine so far. (Note: *not* ADO.net, just plain old COM)

Now, a curious thing happens. When inserting new data through a Recordset, everything works fine - except for columns defined as bigint. There are no exceptions thrown, but when you read the columns back they contain nothing but zeroes. Do the same to any other column type - I've tried integer, numeric, float, nvarchar and ntext so far, and they all seem to work just fine. It does not seem to be conversion-related either, since I've tested the exact same data to various column types. And using bigint on regular SQL Server works just fine.

The code involved is quite unspectacular, and simply switching the column types to integer would solve the immediate problem, but causes potential future issues since we normally store internal IDs in bigint columns, and the values may grow quite large.
This may indicate a problem with compatibility betweeen the 3rd party python ADO adaptor and the SQL CE OLEDB provider.

Sunday, February 19, 2012

Error starting svc at end of install

I get this error right at the end of installing the server
components.
Product: Microsoft SQL Server 2000 Reporting Services
Developer Edition -- Error 1920. Service 'ReportServer'
(ReportServer) failed to start. Verify that you have
sufficient privileges to start system services.
I am logged in as Administrator. It then decides to
rollback the install. My machine is Win2k2003 with IIS6.
Any ideas?
Thanks,
DaveOk, so i did a complete uninstall and reinstall and it
works. I guess if you do a client only install and then
try to install the service components you don't get any
prompts to select which account the reportservice runs
under.
>--Original Message--
>I get this error right at the end of installing the
server
>components.
>Product: Microsoft SQL Server 2000 Reporting Services
>Developer Edition -- Error 1920. Service 'ReportServer'
>(ReportServer) failed to start. Verify that you have
>sufficient privileges to start system services.
>I am logged in as Administrator. It then decides to
>rollback the install. My machine is Win2k2003 with IIS6.
>Any ideas?
>Thanks,
>Dave
>.
>