Options

Asp.NET

Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
edited June 9, 2004 12:41PM in SQL Toolkit Previous Versions
Hi Dan,

The only windows form that's present in the toolkit code is the nag
requester. Have you tried re-referncing the toolkit assemblies and building
the project in Visual Studio? If that doesn't work, then try copying one of
your SQL Toolkit.lic files into the bin folder of your project and rebuild
it again. I think that should do it. If not, please let me know.

Regards,

Brian Donahue
Red Gate Technical Support


"Dan Hammond" <nospam@nospam.com> wrote in message
news:svTTHi9REHA.3468@server53...
> I am attempting to create a new database object in ASP.NET, but have a
> problem.
>
> The toolkit seems to send a modal dialog to the browser, thereby raising
the
> error message 'It is invalid to show a modal dialog or form when the
> application is not running in UserInteractive mode'.
>
> I have already registered the toolkit, so I know its not the nag form
> causing the problem.
>
> Is there any way to use the toolkit in a 'silent' mode?
>
>

Comments

  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Maybe you want to make sure that the SQL Toolkit.lic file is in the
    reference path for SQLCompare.Engine and SQLDataCompare.Engine.dll rather
    than in the bin folder...

    -Brian

    "Brian Donahue (Red Gate)" <brian.donahue@red-gate.com> wrote in message
    news:treMD7$REHA.3156@server53...
    > Hi Dan,
    >
    > The only windows form that's present in the toolkit code is the nag
    > requester. Have you tried re-referncing the toolkit assemblies and
    building
    > the project in Visual Studio? If that doesn't work, then try copying one
    of
    > your SQL Toolkit.lic files into the bin folder of your project and rebuild
    > it again. I think that should do it. If not, please let me know.
    >
    > Regards,
    >
    > Brian Donahue
    > Red Gate Technical Support
    >
    >
    > "Dan Hammond" <nospam@nospam.com> wrote in message
    > news:svTTHi9REHA.3468@server53...
    > > I am attempting to create a new database object in ASP.NET, but have a
    > > problem.
    > >
    > > The toolkit seems to send a modal dialog to the browser, thereby raising
    > the
    > > error message 'It is invalid to show a modal dialog or form when the
    > > application is not running in UserInteractive mode'.
    > >
    > > I have already registered the toolkit, so I know its not the nag form
    > > causing the problem.
    > >
    > > Is there any way to use the toolkit in a 'silent' mode?
    > >
    > >
    >
    >
  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Dan,

    Yes, I've got a web service running with it that I mentioned somewhere
    in another post. It gets a snapshot and sends it as a base64-encoded
    filestream. The issue has more to do with the licensing not working than the
    fact that you're building a web service.

    What version of SQLCompare.Engine do you have? I think versions <=3.10
    have a bug in the licensing code that means the licensing never works on
    some configurations. (Insert Microsoft flame here)

    Regards,

    Brian Donahue
    Red Gate Technical Support



    "Dan Hammond" <nospam@nospam.com> wrote in message
    news:$yp$zeXSEHA.3156@server53...
    > I have tried re-referencing the assemblies, then coping my SQL Toolkit.lic
    > file, and no luck. Still the same error message.
    > Any further ideas? Has any successful development been done with ASP.NET
    by
    > others?
    >
    > "Brian Donahue (Red Gate)" <brian.donahue@red-gate.com> wrote in message
    > news:treMD7$REHA.3156@server53...
    > > Hi Dan,
    > >
    > > The only windows form that's present in the toolkit code is the nag
    > > requester. Have you tried re-referncing the toolkit assemblies and
    > building
    > > the project in Visual Studio? If that doesn't work, then try copying one
    > of
    > > your SQL Toolkit.lic files into the bin folder of your project and
    rebuild
    > > it again. I think that should do it. If not, please let me know.
    > >
    > > Regards,
    > >
    > > Brian Donahue
    > > Red Gate Technical Support
    > >
    > >
    > > "Dan Hammond" <nospam@nospam.com> wrote in message
    > > news:svTTHi9REHA.3468@server53...
    > > > I am attempting to create a new database object in ASP.NET, but have a
    > > > problem.
    > > >
    > > > The toolkit seems to send a modal dialog to the browser, thereby
    raising
    > > the
    > > > error message 'It is invalid to show a modal dialog or form when the
    > > > application is not running in UserInteractive mode'.
    > > >
    > > > I have already registered the toolkit, so I know its not the nag form
    > > > causing the problem.
    > > >
    > > > Is there any way to use the toolkit in a 'silent' mode?
    > > >
    > > >
    > >
    > >
    >
    >
  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Dan,

    If I understand the licensing system code correctly, it should look in
    whatever directory the assembly's going to be compiled into.

    I don't think you have control over that in ASP .net, do you?

    Regards,

    Brian Donahue
    Red Gate Technical Support

    "Dan Hammond" <nospam@nospam.com> wrote in message
    news:VfjO1bjTEHA.3156@server53...
    > I have used the utility 'filemon' to discover where .NET is looking for
    the
    > licence file.
    >
    > Its in the GAC, in my case its:
    >
    > C:windowsmicrosoft.netframeworkv1.1.4322 emporary asp.net
    > filessyncdb7ba21b78c9b7fc7assemblydl29eda28020b25e69_c79ec301
    >
    > I tried putting the license file in the directory and, hey presto, it
    works.
    > However this directory changes everytime the application is recompiled! Is
    > there any way to force .NET or the DLL to look elsewhere?
    >
    >
    > "Brian Donahue (Red Gate)" <brian.donahue@red-gate.com> wrote in message
    > news:hqWMrFmSEHA.2168@server53...
    > > Hi Dan,
    > >
    > > Yes, I've got a web service running with it that I mentioned
    somewhere
    > > in another post. It gets a snapshot and sends it as a base64-encoded
    > > filestream. The issue has more to do with the licensing not working than
    > the
    > > fact that you're building a web service.
    > >
    > > What version of SQLCompare.Engine do you have? I think versions
    <=3.10
    > > have a bug in the licensing code that means the licensing never works on
    > > some configurations. (Insert Microsoft flame here)
    > >
    > > Regards,
    > >
    > > Brian Donahue
    > > Red Gate Technical Support
    > >
    > >
    > >
    > > "Dan Hammond" <nospam@nospam.com> wrote in message
    > > news:$yp$zeXSEHA.3156@server53...
    > > > I have tried re-referencing the assemblies, then coping my SQL
    > Toolkit.lic
    > > > file, and no luck. Still the same error message.
    > > > Any further ideas? Has any successful development been done with
    ASP.NET
    > > by
    > > > others?
    > > >
    > > > "Brian Donahue (Red Gate)" <brian.donahue@red-gate.com> wrote in
    message
    > > > news:treMD7$REHA.3156@server53...
    > > > > Hi Dan,
    > > > >
    > > > > The only windows form that's present in the toolkit code is the
    > nag
    > > > > requester. Have you tried re-referncing the toolkit assemblies and
    > > > building
    > > > > the project in Visual Studio? If that doesn't work, then try copying
    > one
    > > > of
    > > > > your SQL Toolkit.lic files into the bin folder of your project and
    > > rebuild
    > > > > it again. I think that should do it. If not, please let me know.
    > > > >
    > > > > Regards,
    > > > >
    > > > > Brian Donahue
    > > > > Red Gate Technical Support
    > > > >
    > > > >
    > > > > "Dan Hammond" <nospam@nospam.com> wrote in message
    > > > > news:svTTHi9REHA.3468@server53...
    > > > > > I am attempting to create a new database object in ASP.NET, but
    have
    > a
    > > > > > problem.
    > > > > >
    > > > > > The toolkit seems to send a modal dialog to the browser, thereby
    > > raising
    > > > > the
    > > > > > error message 'It is invalid to show a modal dialog or form when
    the
    > > > > > application is not running in UserInteractive mode'.
    > > > > >
    > > > > > I have already registered the toolkit, so I know its not the nag
    > form
    > > > > > causing the problem.
    > > > > >
    > > > > > Is there any way to use the toolkit in a 'silent' mode?
    > > > > >
    > > > > >
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >
This discussion has been closed.