Sunday, March 25, 2012
adding windows user via sp_cmdshell
eate windows user in domain, is there a way to execute sp_ in QA that allow
mw to create domain user, set password and add user to group in domain? if s
o can anyone provide this s
tatment.
Tom,Hi,
Yes. See the OS commands NET USER and NET GROUP in OS Help. You can use this
command from Query Anayzer using XP_CMDSHELL.
Sample
Master..XP_cmdshell 'net user Fin_user password /DOMAIN /ADD'
go
Master..XP_cmdshell 'net group Finance /DOMAIN /ADD'
go
For more details of command execute the below from command prompt
net user ?
net group ?
Thanks
Hari
MCDBA
"TOM P." <TOMP@.discussions.microsoft.com> wrote in message
news:E8D38151-CF4C-4EF9-A713-617E25BA2AEE@.microsoft.com...
> assuming SQL server nt service is started under domain user with right to
create windows user in domain, is there a way to execute sp_ in QA that
allow mw to create domain user, set password and add user to group in
domain? if so can anyone provide this statment.
> Tom,|||Hello Hari,
I have tried it, but it did not work for me, I got:
The request will be processedat DC ...
System error 5 has occurred
Access denied.
I got this regardless if I'm using SA account to open Query Analizer or wind
ows auth... where am member of domain admin. any idea...
"Hari Prasad" wrote:
> Hi,
> Yes. See the OS commands NET USER and NET GROUP in OS Help. You can use th
is
> command from Query Anayzer using XP_CMDSHELL.
> Sample
>
> Master..XP_cmdshell 'net user Fin_user password /DOMAIN /ADD'
> go
> Master..XP_cmdshell 'net group Finance /DOMAIN /ADD'
> go
>
> For more details of command execute the below from command prompt
> net user ?
> net group ?
> Thanks
> Hari
> MCDBA
>
> "TOM P." <TOMP@.discussions.microsoft.com> wrote in message
> news:E8D38151-CF4C-4EF9-A713-617E25BA2AEE@.microsoft.com...
> create windows user in domain, is there a way to execute sp_ in QA that
> allow mw to create domain user, set password and add user to group in
> domain? if so can anyone provide this statment.
>
>|||Hi Tom
As Hari said it is possible, but difficult. The problem
here is its taking the userid of SQL Server instance that
the runs the xp_cmdshell and attempting to create users.
If that userid doesn't have the Server (not SQL)
permission to do its going to crash and burn.
>--Original Message--
>Hello Hari,
>I have tried it, but it did not work for me, I got:
>The request will be processedat DC ...
>System error 5 has occurred
>Access denied.
>I got this regardless if I'm using SA account to open
Query Analizer or windows auth... where am member of
domain admin. any idea...
>"Hari Prasad" wrote:
>
Help. You can use this[vbcol=seagreen]
password /DOMAIN /ADD'[vbcol=seagreen]
command prompt[vbcol=seagreen]
message[vbcol=seagreen]
617E25BA2AEE@.microsoft.com...[vbcol=seagreen]
domain user with right to[vbcol=seagreen]
execute sp_ in QA that[vbcol=seagreen]
user to group in[vbcol=seagreen]
>.
>|||Hi,
I agree with you peter. To do this you might need to start the MSSQL server
service using
a Domain Administrator account. I will not suggest you this.
I will not recommend you to create users / Groups from Query Analyzer.
Thanks
Hari
MCDBA
"Peter" <anonymous@.discussions.microsoft.com> wrote in message
news:2dc001c470c1$74fea120$a301280a@.phx.gbl...[vbcol=seagreen]
> Hi Tom
> As Hari said it is possible, but difficult. The problem
> here is its taking the userid of SQL Server instance that
> the runs the xp_cmdshell and attempting to create users.
> If that userid doesn't have the Server (not SQL)
> permission to do its going to crash and burn.
>
> Query Analizer or windows auth... where am member of
> domain admin. any idea...
> Help. You can use this
> password /DOMAIN /ADD'
> command prompt
> message
> 617E25BA2AEE@.microsoft.com...
> domain user with right to
> execute sp_ in QA that
> user to group in|||Agreed.
>--Original Message--
>Hi,
>I agree with you peter. To do this you might need to
start the MSSQL server
>service using
>a Domain Administrator account. I will not suggest you
this.
>I will not recommend you to create users / Groups from
Query Analyzer.
>Thanks
>Hari
>MCDBA
>
>"Peter" <anonymous@.discussions.microsoft.com> wrote in
message
>news:2dc001c470c1$74fea120$a301280a@.phx.gbl...
that[vbcol=seagreen]
>
>.
>sql
adding vb and visual C# to Visual Studio 2005 in reporting service
Presently visual studio 2005 in SQL server 2005 reporting services has
business intelligence project templates.
I would like to know as to how to add Visual basic and Visual C# project
templates to Visual Studio 2005.
I am new to SQL Server 2005 reporting services.
I would highly appreciate this information.
Thanks for your help.
--
SamKYou have to install those projects. However, after doing this you might have
to re-install report designer. The reason is that SQL Server 2005 comes with
a version of visual studio that it installs if no VS is present. If VS is
present it integrates with it. I have found that if you install VS (for
instance installing VB.Net which installs a full version of Visual Studio)
that you need to re-install the report designer so it integrates with it.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"SamK" <SamK@.discussions.microsoft.com> wrote in message
news:07A0FD1E-9C4A-4FCD-BF5E-65CF12A62AE6@.microsoft.com...
> Hi,
> Presently visual studio 2005 in SQL server 2005 reporting services has
> business intelligence project templates.
> I would like to know as to how to add Visual basic and Visual C# project
> templates to Visual Studio 2005.
> I am new to SQL Server 2005 reporting services.
> I would highly appreciate this information.
> Thanks for your help.
> --
> SamK|||Bruce,
Thanks for your helpful suggestion. This is what I will do.
1) uninstall the Visual Studio 2005 that got installed along with SQL server
2005 reporting services
2) install the full version of Visual Studio 2005.
3) Reinstall the reporting services.
Is this correct?
Best Regards,
SamK
"Bruce L-C [MVP]" wrote:
> You have to install those projects. However, after doing this you might have
> to re-install report designer. The reason is that SQL Server 2005 comes with
> a version of visual studio that it installs if no VS is present. If VS is
> present it integrates with it. I have found that if you install VS (for
> instance installing VB.Net which installs a full version of Visual Studio)
> that you need to re-install the report designer so it integrates with it.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "SamK" <SamK@.discussions.microsoft.com> wrote in message
> news:07A0FD1E-9C4A-4FCD-BF5E-65CF12A62AE6@.microsoft.com...
> > Hi,
> >
> > Presently visual studio 2005 in SQL server 2005 reporting services has
> > business intelligence project templates.
> > I would like to know as to how to add Visual basic and Visual C# project
> > templates to Visual Studio 2005.
> >
> > I am new to SQL Server 2005 reporting services.
> >
> > I would highly appreciate this information.
> > Thanks for your help.
> > --
> > SamK
>
>|||Yes. That will do what you want.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"SamK" <SamK@.discussions.microsoft.com> wrote in message
news:9BEB930B-CE75-4281-9C0B-A171CCD4D035@.microsoft.com...
> Bruce,
> Thanks for your helpful suggestion. This is what I will do.
> 1) uninstall the Visual Studio 2005 that got installed along with SQL
> server
> 2005 reporting services
> 2) install the full version of Visual Studio 2005.
> 3) Reinstall the reporting services.
> Is this correct?
> Best Regards,
> SamK
>
> "Bruce L-C [MVP]" wrote:
>> You have to install those projects. However, after doing this you might
>> have
>> to re-install report designer. The reason is that SQL Server 2005 comes
>> with
>> a version of visual studio that it installs if no VS is present. If VS is
>> present it integrates with it. I have found that if you install VS (for
>> instance installing VB.Net which installs a full version of Visual
>> Studio)
>> that you need to re-install the report designer so it integrates with it.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "SamK" <SamK@.discussions.microsoft.com> wrote in message
>> news:07A0FD1E-9C4A-4FCD-BF5E-65CF12A62AE6@.microsoft.com...
>> > Hi,
>> >
>> > Presently visual studio 2005 in SQL server 2005 reporting services has
>> > business intelligence project templates.
>> > I would like to know as to how to add Visual basic and Visual C#
>> > project
>> > templates to Visual Studio 2005.
>> >
>> > I am new to SQL Server 2005 reporting services.
>> >
>> > I would highly appreciate this information.
>> > Thanks for your help.
>> > --
>> > SamK
>>|||Bruce,
After doing all this two more problems have come up.
1) For web service identity ASPNET is not assigned. the text box is
disabled and it is blank.
2) when I try to open the report manager (http://computername/reports the
application errors out with this message. I would request your help.
Server Error in '/Reports' Application.
----
Could not load file or assembly 'CppCodeProvider, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The module was expected to contain an assembly manifest.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or
assembly 'CppCodeProvider, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was
expected to contain an assembly manifest.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'CppCodeProvider, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
[BadImageFormatException: Could not load file or assembly 'CppCodeProvider,
Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of
its dependencies. The module was expected to contain an assembly manifest.]
System.RuntimeTypeHandle._GetTypeByName(String name, Boolean
throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&
stackMark, Boolean loadTypeFromPartialName) +0
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError,
Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +72
System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError,
Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
System.Type.GetType(String typeName) +48
System.CodeDom.Compiler.CompilerInfo.get_IsCodeDomProviderTypeValid() +9
System.Web.Compilation.CompilationUtil.GetRecompilationHash(CompilationSection ps) +1800
System.Web.Configuration.CompilationSection.get_RecompilationHash() +68
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate2(StandardDiskBuildResultCache diskCache) +741
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(StandardDiskBuildResultCache diskCache) +46
System.Web.Compilation.BuildManager.RegularAppRuntimeModeInitialize() +419
System.Web.Compilation.BuildManager.Initialize() +235
System.Web.Compilation.BuildManager.InitializeBuildManager() +228
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)
+310
[HttpException (0x80004005): Could not load file or assembly
'CppCodeProvider, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was
expected to contain an assembly manifest.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3435007
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +252
----
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.210
--
SamK
"Bruce L-C [MVP]" wrote:
> Yes. That will do what you want.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "SamK" <SamK@.discussions.microsoft.com> wrote in message
> news:9BEB930B-CE75-4281-9C0B-A171CCD4D035@.microsoft.com...
> > Bruce,
> >
> > Thanks for your helpful suggestion. This is what I will do.
> > 1) uninstall the Visual Studio 2005 that got installed along with SQL
> > server
> > 2005 reporting services
> > 2) install the full version of Visual Studio 2005.
> > 3) Reinstall the reporting services.
> >
> > Is this correct?
> >
> > Best Regards,
> > SamK
> >
> >
> > "Bruce L-C [MVP]" wrote:
> >
> >> You have to install those projects. However, after doing this you might
> >> have
> >> to re-install report designer. The reason is that SQL Server 2005 comes
> >> with
> >> a version of visual studio that it installs if no VS is present. If VS is
> >> present it integrates with it. I have found that if you install VS (for
> >> instance installing VB.Net which installs a full version of Visual
> >> Studio)
> >> that you need to re-install the report designer so it integrates with it.
> >>
> >>
> >> --
> >> Bruce Loehle-Conger
> >> MVP SQL Server Reporting Services
> >>
> >> "SamK" <SamK@.discussions.microsoft.com> wrote in message
> >> news:07A0FD1E-9C4A-4FCD-BF5E-65CF12A62AE6@.microsoft.com...
> >> > Hi,
> >> >
> >> > Presently visual studio 2005 in SQL server 2005 reporting services has
> >> > business intelligence project templates.
> >> > I would like to know as to how to add Visual basic and Visual C#
> >> > project
> >> > templates to Visual Studio 2005.
> >> >
> >> > I am new to SQL Server 2005 reporting services.
> >> >
> >> > I would highly appreciate this information.
> >> > Thanks for your help.
> >> > --
> >> > SamK
> >>
> >>
> >>
>
>
Tuesday, March 20, 2012
Adding Table to Dataset for SQL Server Mobile causes VS 2005 to lock up.
I am running VS 2005 Professional Edition
Windows XP profession with Service Pack 2
SQL Server 2005 Developer Edition.
WHAT I HAVE DONE:
I have a database running in an instance of SQL Server.
I set this up for merge publication and then set up a SQL Server Mobile Edition Subscription to that publication. After a few oversights I got everything working. The Mobile database replicated just fine. I went back verified all data was there. Can make queries to it.
PROBLEM:
I set up a new dataset to use tables from the SQL Server Mobile database. If I drag one of the tables to the dataset, VS 2005 simply stops responding. It is not using any processor. I click any place on the application and I get the Microsoft Visual Studio Delay Notification saying:
Microsoft Visual Studio is Busy.
Microsoft Visual Studio is waiting for an internal operation to complete. If you regularly encounter this delay during normal usage, please report this problem to Microsoft.
Well... It is more than just a delay. The environment is not using any processor its just sitting here. And I left it running for 2.5 hours... so now this is becoming a big source of pain for me because I need to get that dataset working to finish my business logic. The only option I have is to Kill the process.
Hopefully someone out there can help.
Additional Services running:
IIS (Whatever version comes with Windows XP Pro. I think 5.1)
SQL Server Agent, SQL Server Integration Services, SQL Server Broswer and SQL Server FullTextSearch
UPDATE: I am editing this post with an update.
I noticed that my other tables get added to the dataset just fine. It is when I add one particular table that the entire visual studio simply stops and starts giving the delay notification. I have no idea why this happens... nor do I see any noticeable difference between this table and the rest of them. I went back and made sure that all columns types where directly supported by SQL Mobile Edition and they are.
Kevin,
I've seen this in a couple of circumstances:
1. you had a pre-release version of VS2005 (Whidbey) on your dev machine at some point , then installed the RTM, and something is disconnected in the feature that does the automatic BindingSource generation when you add a new database datasource to your project. this, unfortunately, requires a cleanup and reinstall ofVS2005
2. you are accidentally trying to use a SQL CE 2.0 database as the data source
Darren
|||Darren,
This is a clean install of Visual Studio 2005. No pre release or beta versions have been on this machine.
I created the database a new SQL Server Mobile Edition database and then filled that database via replication of a SQL Server 2005 database.
I am connecting to it via as SQL Server Mobile Edition Data Source.
I did update the first post to add that it is in fact only 1 table that locks up the solution. The other 48 tables load just fine. I don't see any differences in this table from the others except that it has the most columns. It has 52 columns of types int, nvarchar, rowguid, bigint.
Is there anything else you can think of for me to try or check out?
|||Kevin,
Would you be willing to email me a copy of your sdf file and I can try it in my VS2005 install and maybe see what it is about that one table that can't be modeled into a BindingSource? You can contact me through my blog (just Google me).
-Darren Shaffer
|||Darren,
I took the database over to another developers PC who is working on another project. He does not have SQL Server installed but does have Visual Studio 2005 Professional running.
We got the exact same results. All tables could be added to the dataset designer by dragging and dropping but the one table caused the Microsot Delay Notification.
We then decided to try to add the table to the designer by right clicking and saying add table. Then added the table via the query statements. It added just fine that way.
So the problem seems to rear its head only during the Drag -N-Drop method of the Data Set Designer. I am still scratching my head as to why this could be.
I'll will send you a copy of this database to checkout for yourself.
|||Kevin,
Just to give you an update, I did send a copy of your database to Laxmi - we're hoping to get a fix into SP1 of VS2005.
thanks,
Darren
|||Darren,
Thank you for the update.
Can you please eloborate a little as to what the problem was?
|||Kevin,
I got the same behavior you did - you try to add the Vehicles table to a DataSet in VS2005 and it sits forever. I tried repairing the database first, and even tried removing the merge subscription from the SQL Mobile database first. Same behavior. The only thing I think might be involved here is that you have several BIGINT columns in that table and these translate to an INT64 in .NET. I'm wondering if the VSD (Visual Studio for Devices) team anticipated the need to support INT64 in the dataset designer for SQL Mobile data sources.
I'll let you know when I hear back from Laxmi on his investigation of the issue.
Darren
|||Hi Kevin & Darren,
My team mate Mr. Mohit Khullar who was working on this issue has reproduced the problem and found the root cause too. This bug is in the communication of data between desktop designer and device.
Thanks for pointing out the bug. We would try to make this fix into Whidbey SP1.
Thanks,
Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Ev, Microsoft Corporation
|||I wonder if it's possible to be a little more specific...? I found this thread just doing a Google search for "Microsoft Visual Studio .NET 2005 'Delay Notification'" - Since I seem to get this message every now and then and haven't pinned it down to anything specific that causes it. My co-worker just walked up and I showed it to him and asked if he's ever seen it, and he said Yup, lots... Also, it happens on different machines... My home PC, my 2 work PCs, and my VMs.Sometimes it comes back after a bit.. Sometimes (like now) it doesn't! (well, I've waited about 20 minutes.. I figure that's long enough!) ;) Nothing else is open and the CPU is more or less totally idle according to the Task Manager.
It would be nice to know what's causing it, so I can try to avoid certain behaviours.
I have to say that it's Excessively Lame that it says "If you regularly encounter this delay during normal usage please report this prolem to Microsoft." -- But it doesn't say to who, or what email, or what phone number I should report this to! Making me search for something that should have been known to whoever wrote that "Delay Notification" dialog is, as I say.. Lame. :(
Visual Studio 2005 in General ROCKS. This is just one particular very annoying (to me) thing.
Also, the PC is not directly connected to the Internet, so even though when I force-kill it with Task Manager and it asks me to "Please tell Microsoft about this problem." - I can't send it, and it doesn't give me any other way to do so! - That also is another thing about MS products that I find Particularly annoying!
Thanks
- Andrew
PS - Am I EVER glad I selected all and copied before I hit Post! - It just refreshed the screen or something and I lost my entire message! :( Try again... (edit: at least it worked the 2nd time!)
|||
Hi Laxmi,
I thought I would let you know that this problem is NOT reserved just for mobile server connections. This problem is very common for straight Windows Applications. I receive this message VERY often. I thought it was due to my converting a VS2003 solution across to VS2005, but that is not the case either. Although, to clarify, converting a VS2003 solution to VS2005 does seem to cause this message to be raised more often than from a brand new creation of a solution.
I hope this helps identify the bug more specifically.
cheers,
Mark Chimes
|||I think there has been lot of confusion about the context of this thread. There is a particular table schema and when this table is added to DataSet, VS is locked up. There can be other cases of VS locking up which are in no way related to this thread. So, please just dont take this thread as just "VS Locking up" case rather take it as "VS Locking up for a particular SQL Mobile Table Schema".
Thanks,
Laxmi Narsimha Rao ORUGANTI, SQL Server Everywhere Edition, Microsoft Corporation
|||no confusion occuring except when you say the error is restricted to '...a particular table schema'. i am experiencing the exact same problem in a web app i am busy with. i drag a dataset from the toolbox which then creates a default datatable...WITH an adapter ...et voila! i cant say for sure where the designer is trying to link the table adapter to but the result is a dead-end for vs.|||Are you still facing the same problem with Whidbey SP1 or Whidbey SP1 Beta?
Thanks,
Laxmi
Adding Table to Dataset for SQL Server Mobile causes VS 2005 to lock up.
I am running VS 2005 Professional Edition
Windows XP profession with Service Pack 2
SQL Server 2005 Developer Edition.
WHAT I HAVE DONE:
I have a database running in an instance of SQL Server.
I set this up for merge publication and then set up a SQL Server Mobile Edition Subscription to that publication. After a few oversights I got everything working. The Mobile database replicated just fine. I went back verified all data was there. Can make queries to it.
PROBLEM:
I set up a new dataset to use tables from the SQL Server Mobile database. If I drag one of the tables to the dataset, VS 2005 simply stops responding. It is not using any processor. I click any place on the application and I get the Microsoft Visual Studio Delay Notification saying:
Microsoft Visual Studio is Busy.
Microsoft Visual Studio is waiting for an internal operation to complete. If you regularly encounter this delay during normal usage, please report this problem to Microsoft.
Well... It is more than just a delay. The environment is not using any processor its just sitting here. And I left it running for 2.5 hours... so now this is becoming a big source of pain for me because I need to get that dataset working to finish my business logic. The only option I have is to Kill the process.
Hopefully someone out there can help.
Additional Services running:
IIS (Whatever version comes with Windows XP Pro. I think 5.1)
SQL Server Agent, SQL Server Integration Services, SQL Server Broswer and SQL Server FullTextSearch
UPDATE: I am editing this post with an update.
I noticed that my other tables get added to the dataset just fine. It is when I add one particular table that the entire visual studio simply stops and starts giving the delay notification. I have no idea why this happens... nor do I see any noticeable difference between this table and the rest of them. I went back and made sure that all columns types where directly supported by SQL Mobile Edition and they are.
Kevin,
I've seen this in a couple of circumstances:
1. you had a pre-release version of VS2005 (Whidbey) on your dev machine at some point , then installed the RTM, and something is disconnected in the feature that does the automatic BindingSource generation when you add a new database datasource to your project. this, unfortunately, requires a cleanup and reinstall ofVS2005
2. you are accidentally trying to use a SQL CE 2.0 database as the data source
Darren
|||Darren,
This is a clean install of Visual Studio 2005. No pre release or beta versions have been on this machine.
I created the database a new SQL Server Mobile Edition database and then filled that database via replication of a SQL Server 2005 database.
I am connecting to it via as SQL Server Mobile Edition Data Source.
I did update the first post to add that it is in fact only 1 table that locks up the solution. The other 48 tables load just fine. I don't see any differences in this table from the others except that it has the most columns. It has 52 columns of types int, nvarchar, rowguid, bigint.
Is there anything else you can think of for me to try or check out?
|||Kevin,
Would you be willing to email me a copy of your sdf file and I can try it in my VS2005 install and maybe see what it is about that one table that can't be modeled into a BindingSource? You can contact me through my blog (just Google me).
-Darren Shaffer
|||Darren,
I took the database over to another developers PC who is working on another project. He does not have SQL Server installed but does have Visual Studio 2005 Professional running.
We got the exact same results. All tables could be added to the dataset designer by dragging and dropping but the one table caused the Microsot Delay Notification.
We then decided to try to add the table to the designer by right clicking and saying add table. Then added the table via the query statements. It added just fine that way.
So the problem seems to rear its head only during the Drag -N-Drop method of the Data Set Designer. I am still scratching my head as to why this could be.
I'll will send you a copy of this database to checkout for yourself.
|||Kevin,
Just to give you an update, I did send a copy of your database to Laxmi - we're hoping to get a fix into SP1 of VS2005.
thanks,
Darren
|||Darren,
Thank you for the update.
Can you please eloborate a little as to what the problem was?
|||Kevin,
I got the same behavior you did - you try to add the Vehicles table to a DataSet in VS2005 and it sits forever. I tried repairing the database first, and even tried removing the merge subscription from the SQL Mobile database first. Same behavior. The only thing I think might be involved here is that you have several BIGINT columns in that table and these translate to an INT64 in .NET. I'm wondering if the VSD (Visual Studio for Devices) team anticipated the need to support INT64 in the dataset designer for SQL Mobile data sources.
I'll let you know when I hear back from Laxmi on his investigation of the issue.
Darren
|||Hi Kevin & Darren,
My team mate Mr. Mohit Khullar who was working on this issue has reproduced the problem and found the root cause too. This bug is in the communication of data between desktop designer and device.
Thanks for pointing out the bug. We would try to make this fix into Whidbey SP1.
Thanks,
Laxmi Narsimha Rao ORUGANTI, MSFT, SQL Ev, Microsoft Corporation
|||I wonder if it's possible to be a little more specific...? I found this thread just doing a Google search for "Microsoft Visual Studio .NET 2005 'Delay Notification'" - Since I seem to get this message every now and then and haven't pinned it down to anything specific that causes it. My co-worker just walked up and I showed it to him and asked if he's ever seen it, and he said Yup, lots... Also, it happens on different machines... My home PC, my 2 work PCs, and my VMs.Sometimes it comes back after a bit.. Sometimes (like now) it doesn't! (well, I've waited about 20 minutes.. I figure that's long enough!) ;) Nothing else is open and the CPU is more or less totally idle according to the Task Manager.
It would be nice to know what's causing it, so I can try to avoid certain behaviours.
I have to say that it's Excessively Lame that it says "If you regularly encounter this delay during normal usage please report this prolem to Microsoft." -- But it doesn't say to who, or what email, or what phone number I should report this to! Making me search for something that should have been known to whoever wrote that "Delay Notification" dialog is, as I say.. Lame. :(
Visual Studio 2005 in General ROCKS. This is just one particular very annoying (to me) thing.
Also, the PC is not directly connected to the Internet, so even though when I force-kill it with Task Manager and it asks me to "Please tell Microsoft about this problem." - I can't send it, and it doesn't give me any other way to do so! - That also is another thing about MS products that I find Particularly annoying!
Thanks
- Andrew
PS - Am I EVER glad I selected all and copied before I hit Post! - It just refreshed the screen or something and I lost my entire message! :( Try again... (edit: at least it worked the 2nd time!)
|||
Hi Laxmi,
I thought I would let you know that this problem is NOT reserved just for mobile server connections. This problem is very common for straight Windows Applications. I receive this message VERY often. I thought it was due to my converting a VS2003 solution across to VS2005, but that is not the case either. Although, to clarify, converting a VS2003 solution to VS2005 does seem to cause this message to be raised more often than from a brand new creation of a solution.
I hope this helps identify the bug more specifically.
cheers,
Mark Chimes
|||I think there has been lot of confusion about the context of this thread. There is a particular table schema and when this table is added to DataSet, VS is locked up. There can be other cases of VS locking up which are in no way related to this thread. So, please just dont take this thread as just "VS Locking up" case rather take it as "VS Locking up for a particular SQL Mobile Table Schema".
Thanks,
Laxmi Narsimha Rao ORUGANTI, SQL Server Everywhere Edition, Microsoft Corporation
|||no confusion occuring except when you say the error is restricted to '...a particular table schema'. i am experiencing the exact same problem in a web app i am busy with. i drag a dataset from the toolbox which then creates a default datatable...WITH an adapter ...et voila! i cant say for sure where the designer is trying to link the table adapter to but the result is a dead-end for vs.|||Are you still facing the same problem with Whidbey SP1 or Whidbey SP1 Beta?
Thanks,
Laxmi
Thursday, March 8, 2012
adding NT AUTHORITY\NETWORK SERVICE problem
I trying to add a login AUTHORITY\NETWORK SERVICE'. to sql 2005.
I got the error says the windows NT AUTHORITY\NETWORK SERVICE not found, pls
check the name again.
ANy ideas.Try to execute this statement
USE [master]
GO
CREATE LOGIN [NT AUTHORITY\NETWORK SERVICE] FROM WINDOWS WITH
DEFAULT_DATABASE=[master]
GO
Regards,
Manoj Raheja
MCDBA, MCITP
"mecn" wrote:
> Hi,
> I trying to add a login AUTHORITY\NETWORK SERVICE'. to sql 2005.
> I got the error says the windows NT AUTHORITY\NETWORK SERVICE not found, p
ls
> check the name again.
> ANy ideas.
>
>
Friday, February 24, 2012
Adding footer of matrix reporting service
then what should I do for this?On Aug 30, 5:16 pm, "Ken" <k...@.jeromegroup.com> wrote:
> is it possible?
> then what should I do for this?
If you are referring to report/page footer, you can add this via:
select the Layout tab in BIDS -> select the Report drop-down tab ->
Page Footer.
If you are referring to the matrix control itself, you can right-click
the left-side of the detail row of the matrix control and select Table
Footer.
Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant|||I got it.
thanks
"EMartinez" <emartinez.pr1@.gmail.com> wrote in message
news:1188529087.999137.104030@.q4g2000prc.googlegroups.com...
> On Aug 30, 5:16 pm, "Ken" <k...@.jeromegroup.com> wrote:
>> is it possible?
>> then what should I do for this?
>
> If you are referring to report/page footer, you can add this via:
> select the Layout tab in BIDS -> select the Report drop-down tab ->
> Page Footer.
> If you are referring to the matrix control itself, you can right-click
> the left-side of the detail row of the matrix control and select Table
> Footer.
> Hope this helps.
> Regards,
> Enrique Martinez
> Sr. Software Consultant
>|||On Aug 31, 8:57 am, "Ken" <k...@.jeromegroup.com> wrote:
> I got it.
> thanks
> "EMartinez" <emartinez...@.gmail.com> wrote in message
> news:1188529087.999137.104030@.q4g2000prc.googlegroups.com...
> > On Aug 30, 5:16 pm, "Ken" <k...@.jeromegroup.com> wrote:
> >> is it possible?
> >> then what should I do for this?
> > If you are referring to report/page footer, you can add this via:
> > select the Layout tab in BIDS -> select the Report drop-down tab ->
> > Page Footer.
> > If you are referring to the matrix control itself, you can right-click
> > the left-side of the detail row of the matrix control and select Table
> > Footer.
> > Hope this helps.
> > Regards,
> > Enrique Martinez
> > Sr. Software Consultant
You're welcome. Let me know if I can be of further assistance.
Regards,
Enrique Martinez
Sr. Software Consultant|||On Aug 31, 7:58 am, EMartinez <emartinez...@.gmail.com> wrote:
> On Aug 30, 5:16 pm, "Ken" <k...@.jeromegroup.com> wrote:
> > is it possible?
> > then what should I do for this?
> If you are referring to report/page footer, you can add this via:
> select the Layout tab in BIDS -> select the Report drop-down tab ->
> Page Footer.
> If you are referring to the matrix control itself, you can right-click
> the left-side of the detail row of the matrix control and select Table
> Footer.
> Hope this helps.
> Regards,
> Enrique Martinez
> Sr. Software Consultant
Plz be more specific it cant understand
Adding footer of matrix reporting service
A matrix table object cannot have a footer but if someone needs to put totals for all rows, he needs to right-click on the section of matrix table where it says "Rows" and then click "Subtotal" option. This would add a new row in the end of matrix table and bring totals automatically - no extra work needed.
I think you are talking about a simple data table object - yes that has this option.
thanks,
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.comOn Sep 6, 10:38 am, Ratan Udassi wrote:
> Hi EMartinez ,
> A matrix table object cannot have a footer but if someone needs to put totals for all rows, he needs to right-click on the section of matrix table where it says "Rows" and then click "Subtotal" option. This would add a new row in the end of matrix table and bring totals automatically - no extra work needed.
> I think you are talking about a simple data table object - yes that has this option.
> thanks,
> EggHeadCafe - .NET Developer Portal of Choicehttp://www.eggheadcafe.com
Actually, what you are referring to is the same thing that I was
explaining.
Regards,
Enrique Martinez
Sr. Software Consultant
Thursday, February 16, 2012
Adding database access to existing account prompts password change confirmation dialog
on Windows 2000 Server, Service Pack 3:
Whenever I try to add or change the attributes of an existing SQL
Server-authenticated login, I'm prompted to "Confirm new password"
even though I'm not changing the password. Windows-authenticated
logins don't seem to do this.
Any ideas?
Thanks!
Michael Brule
Database Administrator
The Phoenix CompaniesFrom my understanding the hotfix you mentioned should of
fixed that issue.
Here's more info
http://support.microsoft.com/?id=826161
Quoting from that knowledge base article:
==============SYMPTOMS
After you install MS03-031: Cumulative Security Patch for
SQL Server, when you make changes to a standard SQL Server
login by using Enterprise Manager, you are prompted for a
password, even if you did not change the password. If you
did not change the password, you cannot successfully close
the dialog box, regardless of the entry that you use.
>--Original Message--
>Running SQL Server 2000, Service Pack 3a, Hotfix MS03-031
(8.00.818)
>on Windows 2000 Server, Service Pack 3:
>Whenever I try to add or change the attributes of an
existing SQL
>Server-authenticated login, I'm prompted to "Confirm new
password"
>even though I'm not changing the password. Windows-
authenticated
>logins don't seem to do this.
>Any ideas?
>Thanks!
>Michael Brule
>Database Administrator
>The Phoenix Companies
>.
>|||Thanks, Bob! That took care of it!
Michael Brule
Database Administrator
The Phoenix Companies
Adding current date into attachment filename in reporting service
Hi there,
I have been using reporting service to generate my report and sending email with attachment report via subscription everyday. It is work well and no error.
My attachment file name is as same as reportname project. But customers asked me to add current date into an attachment filename which will help them to identify the report. I try to check in rsreportserver.config to change it but have no idea.
My reportname project is daily_file.rdl and my attachment filename in email is daily_file.csv. I'd like to change my attachment filename as day_month_year_file.csv.
Is there anyone know how to change an attachment filename to be not the same as reportname in reporting service 2005
Regards,
Hello...
I have the same question. My subscription generates a file that gets stored on our Network file server. A new file is created every day and the users want the generate date included in the name of the file that is created and saved. I see that this can be done in the e-mail subject line if your subscriptions email the users. How do you do it in the file name?
Thanks.
You can't do change the name on an export, but you can take a look at a couple posts on here about using a data-driven subscription to handle this.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=168131&SiteID=1
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1311897&SiteId=1
Hope this helps.
Jarret
Adding current date into attachment filename in reporting service
Hi there,
I have been using reporting service to generate my report and sending email with attachment report via subscription everyday. It is work well and no error.
My attachment file name is as same as reportname project. But customers asked me to add current date into an attachment filename which will help them to identify the report. I try to check in rsreportserver.config to change it but have no idea.
My reportname project is daily_file.rdl and my attachment filename in email is daily_file.csv. I'd like to change my attachment filename as day_month_year_file.csv.
Is there anyone know how to change an attachment filename to be not the same as reportname in reporting service 2005
Regards,
Hello...
I have the same question. My subscription generates a file that gets stored on our Network file server. A new file is created every day and the users want the generate date included in the name of the file that is created and saved. I see that this can be done in the e-mail subject line if your subscriptions email the users. How do you do it in the file name?
Thanks.
You can't do change the name on an export, but you can take a look at a couple posts on here about using a data-driven subscription to handle this.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=168131&SiteID=1
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1311897&SiteId=1
Hope this helps.
Jarret
Thursday, February 9, 2012
Adding a web reference (web service) to an SSIS script task?
Is it possible to do this under SSIS 2005? How? I see I can add a reference to system.web.services.dll.. but then what?
The web service was developed in vb.net/vs.net 2005 and I have no problem adding and consuming it from a web page developed using vs.net 2005 - asp.net/vb.net.
Thanks for any help or information.
VSA won't allow you set a web reference. You can compile the proxy created by Visual Studio and reference that.|||
Jay is absolutely correct. Script Task uses VSA as its dotnet editor and that does not support web references.
Although it doesn't help you much now...the functionality you are after will be in katmai. In the meantime, do what Jay suggested.
-Jamie