NetSqlAzMan Xml Import error

Sep 22, 2009 at 5:50 PM

Hello,

I have followed the steps to install the latest version of NetSqlAzMan (3.6.0.3).  The steps are located on page: http://netsqlazman.codeplex.com/Wiki/View.aspx?title=IMPORTANT%20%21%20Read%20here%20before%20upgrading%20NetSqlAzMan%20to%20version%203.6.0.0%20or%20later

I created a new database and used your sql script (for version 3.6.0.x) to create the database schema.  I uninstalled the previous version of the console.  Then I installed and launched the new console version 3.6.0.3.  I set the correct server name and database.  I get the following Import error when attempting to import my Xml file containing the store used in my previous version of NetSqlAzMan:

"The Xml file is not valid or wrong import position"

I can open the Xml file in a web browser, so I do not think my xml file is corrupt or invalid.  The Xml file is located in C:\Program Files\.NET Sql Authorization Manager\SQL Scripts on my PC (not on the database server).  Should the Xml file be loaded somewhere else for the import to work?  Any ideas how to resolve this error?

Thanks, Bret

Coordinator
Sep 22, 2009 at 5:52 PM

Hi,

please post the first 10 rows of your xml file here …

Ty,

Andrea.

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator  
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com

Sep 22, 2009 at 5:54 PM

Hi Aferende,

Here you go:

<?xml version="1.0"?>

<doc>

    <assembly>

        <name>NetSqlAzMan</name>

    </assembly>

    <members>

        <member name="T:NetSqlAzMan.Utilities.MergeUtilities">

            <summary>

            Merge Utilities

            </summary>

Thanks!

Bret

From: aferende [mailto:notifications@codeplex.com]
Sent: Tuesday, September 22, 2009 10:52 AM
To: Davis, Bret
Subject: Re: NetSqlAzMan Xml Import error [netsqlazman:69740]

From: aferende

Hi,

please post the first 10 rows of your xml file here …

Ty,

Andrea.

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com

Read the full discussion online.

To add a post to this discussion, reply to this email (netsqlazman@discussions.codeplex.com)

To start a new discussion for this project, email netsqlazman@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


- ------------------------------------------------------------------
The information transmitted by this e-mail and any included
attachments are from ARUP Laboratories and are intended only for the
recipient. The information contained in this message is confidential
and may constitute inside or non-public information under
international, federal, or state securities laws, or protected health
information and is intended only for the use of the recipient.
Unauthorized forwarding, printing, copying, distributing, or use of
such information is strictly prohibited and may be unlawful. If you
are not the intended recipient, please promptly delete this e-mail
and notify the sender of the delivery error or you may call ARUP
Laboratories Compliance Hot Line in Salt Lake City, Utah USA at (+1
(800) 522-2787 ext. 2100
Coordinator
Sep 22, 2009 at 9:04 PM

I think you're using a wrong xml file.

This fact is not an export file of NetSqlAzMan.

Maybe you confused the file?

The correct file should be like this:

  <?xml version="1.0" encoding="utf-8" ?>

  <!-  *************************************

  -->

  <!-  .NET SQL Authorization Manager (Ms-PL)

  -->

  <!-  *************************************

  <NetSqlAzMan>

  <Store Name="My Store" Description="">

  <Attributes />

  <Permissions>

  <Managers />

  <Users />

  <Readers />

  </Permissions>

  <StoreGroups>

  ...

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator  
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com

Sep 22, 2009 at 11:30 PM

Thanks Andrea!  I will restore my old database and try creating a new Xml file using an old console version.  I guess you now have a good post regarding what an exported Xml file should NOT look like!  :)  Thanks so much for your help.  ~Bret

Coordinator
Sep 23, 2009 at 6:42 AM

J