473,699 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQLServer Compact Edition in Asp.Net

Hi

I have a web application that shows events on a screen in a showroom so
there's only one user.
I thought the easiest way to implement a datastore for the events was to use
a
SqlServer Compact Edition database. I now ended up with this problem

'Unable to find the requested .Net Framework Data Provider. It may not be
installed. '

Searching the internet I found this piece of code to add to my application:
AppDomain.Curre ntDomain.SetDat a("SQLServerCom pactEditionUnde rWebHosting",
true);

I put this in my Application_Sta rt method in the global.asax file, but I
still have the problem

Any ideas

Thanks Paul S
Jun 27 '08 #1
1 2033
See if these links help you :

http://blogs.msdn.com/stevelasker/ar...a-in-code.aspx

http://blogs.msdn.com/sqlservercompa...nst-sqlce.aspx

http://support.microsoft.com/kb/920700

http://www.microsoft.com/sql/edition...t/default.mspx

SQL Server Compact Edition is not designed for sending data to web browsers.
It's designed for sending data to mobile devices.

Also, you might want to post your questions about SQL Server CE at :
http://forums.microsoft.com/MSDN/Sho...D=152&SiteID=1

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"Paul S" <Pa***@discussi ons.microsoft.c omwrote in message news:E2******** *************** ***********@mic rosoft.com...
Hi

I have a web application that shows events on a screen in a showroom so
there's only one user.
I thought the easiest way to implement a datastore for the events was to use
a
SqlServer Compact Edition database. I now ended up with this problem

'Unable to find the requested .Net Framework Data Provider. It may not be
installed. '

Searching the internet I found this piece of code to add to my application:
AppDomain.Curre ntDomain.SetDat a("SQLServerCom pactEditionUnde rWebHosting",
true);

I put this in my Application_Sta rt method in the global.asax file, but I
still have the problem

Any ideas

Thanks Paul S

Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2970
by: Martijn Rutte | last post by:
Hi, On one side, I have a Sybase 12.5 32 bits Server running on AIX 5.1 (maintenance level 3). On the other, I've got W2000 5.00.2195 (SP2) with SQL Server Standard Edition, Product Version 8.00.534 (SP2), having installed MDAC 2.6. I connect to the Sybase 12.5 database using Merant ASE ODBC driver for Sybase 12.5, and using the Microsoft OLE DB Provider for SQL Server that comes with this SQLServer version.
2
2070
by: Patrox | last post by:
Hi ! when installing sqlserver 2000 on a Windows 2003 server it explicitly tells "server not compatible with Windows 2003" during install, but it can carry on. After we applied serfice pack 3a then the db server seems to run normally, but does it risk to behave randomly afterwards ??? Is sqlserver 2000 standard edition compatible with Windows 2003 server ? Or does it exist a specific sqlserver edition for Win2003 ?
1
2519
by: Asad Khan | last post by:
Hi, I have Visual Studio 2002 Enterprise Architecture Edition. I was wondering if anyone has any information on how I can develop applications for .Net Compact Framework using this IDE. I've heard Visual Studio 2003 ships with the functionality for .Net Compact Framework development. But right now I have Visual Studio 2002. Is there anything I can do? (Other than the obvious upgrade to 2003). I've heard some beta version of .Net Compact...
7
2360
by: me | last post by:
i run a script which compacts a backend mdb at midnight when no one is connected to the backend. I compact it on the server. But this means that we need an extra license for Office to have it installed on the server so we can compact it on the server. Can I compact the mdb without needing Office installed maybe using VB or something else? Thanks, Chris
1
2097
by: smitty mittlebaum | last post by:
I have a strange problem that has reared its ugly head in the last few weeks. I have the option "Compact on Close" (Tools, Options, General tab) enabled on my development machine. I did this because every time I worked on my app it just grew and grew. What started out as a 14Meg file kept growing into a monster of over 90 Megs! System info: Windows XP Pro with SP1
7
1621
by: Academia | last post by:
I was told that SqlServer express should get installed when VS2008Pro is installed (that is it is on the same DVD). I had a couple of errors during vs2008's installation and I don't see any signs of sqlserver. Is SqlServer Express suppose to get installed when VS2008 Pro is installed? Or should I download SqlServer and installed it that way?
1
6049
by: gerbrandc | last post by:
Hello, how can I insert into the sql compact edition 3.5 multiple rows. I have following query INSERT INTO network (name, adname, timezone) VALUES ('rm', 'rm', 1), ('pm', pm', 1) , ('PLURIELLES', 'PLURIELLES', 1), ('SPORTS', 'SPORTS', 1);
1
2193
by: Neil.Young | last post by:
Hi, I have written a WinForm app using VS 2008. The app uses LINQ to SQL for a SQL Server Compact Edition database. The Setup has only one requirement (by default): .net 3.5 runtime. Now I got a notice from a colleague of mine, reporting problems with running my app on Windows XP, SP 2, .net 3.5 runtime installed. This machine doesn't have any binaries of the Visual Studio environment installed, just plain ..net 3.5.
1
3824
by: mfaisalwarraich | last post by:
Hi Everybody, I am new to VB.NET. I have googled around for the connection string to connect with Sql Compact edition database. but i really have no idea how to do that. furthermore i dont know how to connect a form's fields to that database. please give me a very simple example of doing this which can really clear the concepts. i will be very grateful to you. thank you. and please tell me if i wana use ms sql server 2005 and dotn wana...
0
8686
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9173
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9033
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8911
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8882
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6533
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4375
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2009
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.