Mark Cooray

Dear All,

Please help me with the below Error.

Error 1
Deployment and/or registration failed with error: 0x8973190e.
Error writing file '\rda_app\system.design.dll'. Error 0x80070070:
There is not enough space on the disk.
Device Connectivity Component

What could I do to overcome this

Regards,





Re: Smart Devices General Deployment and/or registration failed

Mohit Gogia

Moving to Smart Devices General forum where it has better chances of being answered. Also please give additional details about VS version and what is it you are trying to do when you are getting this error

-Thanks,

Mohit





Re: Smart Devices General Deployment and/or registration failed

Mark Cooray

Dear Mohit,

Thanks for the respond,

My VS version is 2005 and .net framework 2.0,

What I am trying to do is I am trying to PULL data from SQL server on to the Device. it is an RDA project

Thankx






Re: Smart Devices General Deployment and/or registration failed

AlexFeinman

You have references to a desktop dll in your project. Because of this Visual Studio is trying to deploy the entire desktop .NET framework and runs out of space. Find what you referenced incorrectly and remove it




Re: Smart Devices General Deployment and/or registration failed

Mark Cooray

Hi

Thankx again.

I had an issue with my SQL mobile before.... Pls Refer below : So I implimented the solution provided by this article.

as mentioned in this I am including following .dll files.

sqlceca30.dll, sqlcecompact30.dll, sqlceer30en.dll, sqlceme30.dll, sqlceoledb30.dll, sqlceqp30.dll, sqlcese30.dll

Deploying SQL Mobile via ClickOnce
To get a feel how easy it is to deploy SQL Mobile with Click Once, here¡¯s a quick walk through:

  1. Using Visual Studio 2005 (Whidbey) create a new Windows Forms project.
  2. Using the Data Sources Window choose to add a new Database Data Source for the Northwind sample database
    • On the Choose your Data Connection step, click New Connection
    • In the top of the dialog you can change the Data Source ¨C I know this term is overloaded¡­
    • Click the [Change¡­] button and select Microsoft SQL Server Mobile Edition as the data base data source
    • Your now given a Connection dialog where you can either create a new SQL Mobile Database or you can choose an existing SQL Mobile database.
    • Click [Browse] and you should see Northwind.sdf . .sdf is the SQL Mobile data file extension.
      If for some reason you don¡¯t see the sample database, verify you¡¯re looking in C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0
    • Once you select the sample database, click Ok, and click next to the Save Connection step
    • At this point you¡¯re prompted to copy the .sdf file to your project. Choose yes so the data file travels with your application.
    • Again, choose yes save the connection string in the Settings file.
    • You can now choose which tables. For the purposes of this simplified demo, just choose Employees and click finish.
    • This creates a strongly typed DataSet, new in Whidbey for devices, for your Northwind SQL Mobile file.
  3. Drag the employees table from the Data Sources Window to the Form1 design surface. You can choose the Smart Tag on the grid to dock-fill.
    So far, this is the same experience for server based databases.

At this point you¡¯d think you can run your application, and you can certainly try hitting F5. But, you¡¯ll get an exception stating the runtime can¡¯t find sqlceme30.dll. ADO.net for SqlMobile can¡¯t find the SQL Mobile runtime. No problem, we¡¯ll just add it to our project.
But wait you say. Isn¡¯t that an install Or a ClickOnce boot strapper thingy Nope. The SQL Mobile runtime is a few very small dlls. To get the full functionality for SQL Mobile you only need to add less then 1.4mb to your project. That¡¯s less then some home page images.

  1. To add the runtime we need to place these files in a path that can be found by ADO.net. You could MSI install these to the System32 directory, but because they¡¯re so small, why not just ship them with your app
  2. Within Solution Explorer, select your project and choose Add Existing Item
  3. Navigate to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
  4. Change the files of type to all files
  5. Click in the file list window and type sqlce to get to the files that start with these letters
  6. Shift select all 7 files, sqlcera30.dll, sqlcecompact30.dll, sqlceer30en.dll, sqlceme30.dll, sqlceoledb30.dll, sqlceqp30.dll, sqlcese30.dll and click Add.

You now have the runtime in the project, but it¡¯s not in the execution path.

  1. Select all 7 files in solution explorer and select the property grid.
  2. Change the Copy to Output Directory to Copy if newer
    This will make sure these files are copied to the output directory and can be found at runtime.
  3. Hit F5 to test your app.

Voila. You now have a local database ready to go.
Deploying with ClickOnce
Because these dll¡¯s are just private to the project, you can simply publish your app just as you would normally. Post Beta 2 however, you¡¯ll have a minor problem. ClickOnce actually places ¡°Data¡± files in a different directory then you¡¯re app. For more info check out my Tech Ed blog and Data Directory sample.






Re: Smart Devices General Deployment and/or registration failed

AlexFeinman

The article you quoted refers to the desktop installations. You need to let visual studio deploy SQL MObile for you. Visual Studio would do it automatically once you add System.Data.SqlServerCe assembly refererence to your project. Remove whatever direct assembly references to sqlce3 components you created and add System.Data.SqlServerCe, then deploy the project




Re: Smart Devices General Deployment and/or registration failed

Mark Cooray

Hi Thankx.

You meen to say that It is not necessary to do what the below link says

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1486485&SiteID=1&mode=1






Re: Smart Devices General Deployment and/or registration failed

AlexFeinman

Is your application for a Mobile Device (i.e. using Compact Framework) or for a laptop/desktop The instructions above refer to the deployment on Windows XP/Vista




Re: Smart Devices General Deployment and/or registration failed

Mark Cooray

Hi,

This is for a Smart Device Emulator. running on Windows XP. The actual system is running in the device emulator.

Rgds






Re: Smart Devices General Deployment and/or registration failed

AlexFeinman

Then follow what I said. That post is not applicable




Re: Smart Devices General Deployment and/or registration failed

Mark Cooray

Okay Alex,

That meens your telling me to just use the System.Data.Sqlserverce.dll referance in my Device project, using add referance in the VS2005.

I will try it out n let you know.