RE: SQL Express Edition Network Deployment Error



Hello Cypher,

The issue of "The file *.mdf is on a network path that is not supported for
database files" is caused by one of the SQL Express limits:

SQL Server 2005 Express Edition Overview
http://msdn.microsoft.com/en-us/library/ms345154.aspx

<quote>
SQL Server supports using multiple data and log files for a database and
these files can be distributed in multiple file groups. This is not
supported in the AttachDBFileName syntax. *Also the network share, HTTP
paths, or Universal Naming Conventional (UNC) remote databases are not
supported.*
</quote>

Because your mdf is located in a network share and our app accesses the mdf
through the unc path, the error is thrown for lack of the UNC remote DB
support. Having another license of an SQL Server Express edition run on
that machine will not help either. In other words, if we have to use SQL
Server Expression edition, the DB must be local for it to work. For your
scenario, the possible solutions are:

1. Install SQL Server of Non-Express edition (e.g. Enterprise Edition) and
attach the mdf to the server.
(I can understand that you may not choose this solution according to our
communications in the past.)

2. If the mdf must stay remotely, you may consider building a data access
layer (DAL) on that remote machine (DAL stays with the mdf), and expose the
interfaces of DAL to our application through the tech like web service. In
this way, our app calls the DAL to do the DB operations.

For more information about DAL, please refer to the articles:
http://msdn.microsoft.com/en-us/magazine/cc188750.aspx
http://msdn.microsoft.com/en-us/library/aa581778.aspx

Regards,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



.



Relevant Pages

  • Re: SSIS as part of scheduled job fails
    ... An SSIS package does not run when you call the SSIS package from a SQL ... Microsoft SQL Server Management Studio ... I ended up contacting Microsoft and opening a support case. ...
    (microsoft.public.sqlserver.dts)
  • Re: Cannot setup SQL Mail on SBS 2003
    ... Microsoft CSS Online Newsgroup Support ... Cannot setup SQL Mail on SBS 2003 ... The account you use to start the SQL Server service must be a domain ...
    (microsoft.public.windows.server.sbs)
  • Re: SQL Express Edition Network Deployment Error
    ... I have instructed my colleague to ask for a quotation of MS SQL Standard to solve our problem. ... There is a 25% Discount on SQL Server up to Sept this year. ... Because your mdf is located in a network share and our app accesses the mdf ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: SQL Express Edition Network Deployment Error
    ... There is a 25% Discount on SQL Server up to Sept this ... > The issue of "The file *.mdf is on a network path that is not supported ... > Microsoft Online Community Support ... > where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: SQL Express Edition Network Deployment Error
    ... You might also want to look into using one of the open source database ... The issue of "The file *.mdf is on a network path that is not supported ... SQL Server 2005 Express Edition Overview ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework.adonet)

Loading