wrox
whate is the difference b/w visul studio 2008 &2010
Reply:
------------------------------------
Need to Share USB 3G Modem with Wireless Network and Devices on Wireless Net
My topology:
On desktop machine:
Desktop with USB 3G modem (UMW190 Verizon Wireless)
Ethernet on Motherboard
USB Wireless (Netgear) Adapter
Netgear wireless router w/4port switch
Laptops with wireless and wired Ethernet
Wireless printer on local network
What I want to do:
Use desktop to share USB 3G adapter with wireless network and allow file sharing between desktop and laptops over local network and access printer on local network by desktop.
What I've tried and what happens:
(1)
Shared 3G modem on Ethernet
Connected Ethernet to WAN port on router
Set up router as DHCP: thus I have three networks: WAN from 3G, LAN between Ethernet and router WAN port, LAN from wireless router
No wireless adapter on desktop
All machines can access Internet
Desktop cannot access local network with printer or laptops (no filesharing)
(2)
Same as (1) but added wireless USB adapter on desktop and enabled. It connects to local wireless network, so desktop can see/access printer and laptops, but all Internet is gone.
(3)
Same as 1, but connect Ethernet port to LAN port on router and turn off DHCP on router. All LAN devices (laptops and printer) now have address from desktop Ethernet port.
All machines get Internet, but desktop cannot access the local network printer or laptops.
(4)
Same as 3, but enable Wireless USB adapter. Desktop can access the local network and printer, but no Internet for any devices.
What I've tried in Windows 7 Networking:
Changed the network/binding order. Ethernet top, wireless second; etc. No change.
Set the USB 3G modem metric to very low, Ethernet to mid range, and wireless USB to very high. No change.
Set the USb 3G modem metric to very low, Ethernet to same as 3G, and USB very high. No change.
In all cases, as soon as I enable the wireless USB adapter on the desktop, all Internet goes away. I assume the desktop wants to use wireless over USB 3G or Ethernet over USB 3G.
What's the solution? Why doesn't Windows 7 simply identify the only connection with Internet access and route all Internet calls to that port?
Your help will be greatly appreciated.
Reply:
I have a similar problem, did you ever get your issue resolved with a working solution?
------------------------------------
Pass Parameter via url to a form library when form is open in browser
I have an issue with a process we are trying to Automate:
Our clients send us a request form for an Audit in a form that I created on infopath. First thing first: I initially had that form in a list, and everytime someone enters an audit request it will populate on the list page. However due to certain privacy issues we wanted them to have the form available in the browser without enabling them to see the data base list.
This however gave us a lot of problems and I read that you can open a form in a browser if it's placed on a form library, and so I did. So now I built in the form on the form library, and once I hit add new, the browser loaded with the form placed there. The only issue is I'm not quiet understanding the difference between a form library and a form list??! I'm confusing myself with what each part does.. If I submit a form, it wont allow me to submit another form as they have the same name!!
All I am trying to do is have my clients be able to submit a form that only appears In a browser and has a predefined field that is passed through a query string
Reply:
If you'd like people to see only their own items, and not other people's, and still use InfoPath, the best option is to create it as a SharePoint list and customize it with infopath. After you create your list, in the list tab in the ribbon, click "customize form". Also, in the list's advanced settings, there are some security settings that you can set so that people can only read or edit their own items. This setting is available in custom lists and NOT in libraries.
The reason your library is submitting as the same name each time is because of the way you created your submit data connection. The file name has to be unique for each form, so you use fields from in your form, or a concatenation of multiple fields as your filename.
Laura Rogers
Rackspace: SharePoint Consulting
Blog: http://www.wonderlaura.com
Twitter: WonderLaura
Books:Beginning SharePoint 2010: Building Business Solutions with SharePoint
Using InfoPath 2010 with Microsoft SharePoint 2010 Step by Step
------------------------------------
Reply:
Thank you for your reply Laura; however, my manager doesn't want them to view anything. The only thing he wants them to see is the form and then once they submit it a new form loads. I managed to do that with a form library and made the form library submit each form with a unique name that is the concatination of certain fields together. My question now became whether I can pass a query string into that form, I know i can do that with a list becasue I have done it before for the first version of this project, but im having a difficulty with the form Library.
The end result of this is that my manager wants the auditors to click the link and have it all set for them
------------------------------------
Reply:
If you don't want people to get to any forms once they've submitted one, here's a blog post I wrote about how to do that.
Submit Form to a Secure Location
To pass a query string into the form, place the infopath form web part on a web part page, along with the query string url filter web part. Use the query string web part to pass the parameter to the form using a web part connection.
Laura Rogers
Blog: http://www.wonderlaura.com
Twitter: WonderLaura
Books:Beginning SharePoint 2010: Building Business Solutions with SharePoint
Using InfoPath 2010 with Microsoft SharePoint 2010 Step by Step
- Edited by LauraRogers MVPMVP Thursday, March 17, 2016 5:26 PM
------------------------------------
Reply:
Hey Laura,
Thank you for all the help you are providing me. I followed your instructions step by step and I have this so far:
Form library is exactly what you had, Audit Request (Auditors) is the data base that the form is going to feed into which by a workflow would send that data to Audit Request (Locked) and delete the fields in Audit Request (Auditors). This works perfectly except for one issue:
In the Name field in Audit Request (Auditors) I have tweeked the data connection of the form in the form library that feeds into it to have this name: Concat(Control_number, Audit). This is because I want to ensure that there wont be a duplicate of the control number as I want it to be Unique. And once the person tries to submit the form a message pops up stating: The Control number you entered is not unique. This works perfectly if I dont have the workflow running. However, when the workflow is running the form would still submit both forms even if they have the same control number and this is how it will look like:
I entered both control numbers as: Test and this is what happens when the workflow is running..
Is there a way to fix this, and have the form display an error message, exactly the same way it does when the workflow is running? and at the same time keep up this process of pulling information to the locked Library?
------------------------------------
Reply:
Laura Rogers
Rackspace: SharePoint Consulting
Blog: http://www.wonderlaura.com
Twitter: WonderLaura
Books:Beginning SharePoint 2010: Building Business Solutions with SharePoint
Using InfoPath 2010 with Microsoft SharePoint 2010 Step by Step
------------------------------------
Reply:
------------------------------------
Error Handling - Using Raiserror Alongside Try Catch Throw
I've been playing with the Try-Catch in T-SQL and one thing I've noticed is that there seems to be some misunderstanding / argument in places about the Raiserror function.
The MSDN page on Raiserror states that it is depreciated and new developments should use Try Catch Throw instead, but I've seen a few threads and blogs around that say this is an error and it is in fact an older version of Raiserror that is depreciated, and there is a 'newer' one in existence which is still valid.
The code I've been writing makes use of Raiserror for custom errors within Try blocks and are picked up and handled by the Catch Blocks perfectly fine, but considering that the MSDN page states it is depreciated, I wonder if I'll be able to get away with doing it this way for this project.
The main thing I noticed when playing with Try-Catch was when I want to raise a custom error without using Raiserror, I have to use Throw and repeat the error message in every instance of where that error can occur, meaning if I need to reword an error I have to find every instance of it appearing in all my functions and SPs and make the changes.
Raiserror however allows me to save the error details in the server (using sp_addmessage) and then just call the custom error number, any rewording will then affect every instance where that error can occur, current and future.
Although I do appreciate that there are some occassions when you may want to have slightly different wording on some instances on an error, overall I think the messages would mostly be the same.
What I'm wondering is, does anyone else use Raiserror in this way or do most people stick to just using Throw for custom errors?
The reason I ask is I feel that Raiserror offers a wonderful piece of functionality that Throw alone doesn't seem to offer an adequate replacement for.
Thanks.
- Edited by Avan_Madisen Wednesday, August 8, 2012 12:07 PM Formatting got messed up when I hit submit.
Reply:
RAISERROR in the form
RAISERROR ( { msg_id | msg_str | @local_variable }
{ ,severity ,state }
[ ,argument [ ,...n ] ] )
[ WITH option [ ,...n ] ]
is not deprecated to my knowning. (And Microsoft would only dare to deprecate it. I've been slamming them quite a bit for this idiotic addition of THROW.) There is however, an older syntax of RAISERROR that I don't even remember, which has been deprecated for a long time and which have been removed in SQL 2012.
I am not wholly enthusiastic over custom-error messages added with sp_addmessage. There are a couple of problems with them:
1) It's just a number, so typos can cause confusion.
2) They are a server-wide resource, which means that there can be collisions between databases.
3) Things get difficult if your application is moved from one server to another.
We use custom-errors in the system I work with, but it's only legacy. We wrote our own error-handling procedure which accepts a code which can be looked up in an application table and parameterised.
THROW is handy if you want to re-raise an error, but I strongly recommend against it for raising error messages. If there is no CATCH handler, TRHOW aborts the current batch, without rolling back the existing transaction. A behaviour that was unheard of before SQL 2012. This can have some very nasty effects with orphanded transactions.
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
------------------------------------
Reply:
Well, I've gone back to the MSDN page http://msdn.microsoft.com/en-us/library/ms178592.aspx and although it doesn't use the word 'depreciated' it does say 'New applications should use THROW instead.', so therein is the confusion.
I think your point 1 comes under testing, any typos can cause problems in code, and testing errors is something I always do.
Points 2 and 3 go hand in hand there, and I can see the potential issues with that. Since any custom messages are serverwide they won't be associated with the DB, so migrating a DB may not migrate the messages as well, correct?
I also appreciate what you're saying with THROW potentially leaving orphaned transactions, while it is a bit of a headache to always remember to write code in the Catch block to rollback any incomplete transactions, my view is a good programmer would look for that sort of thing.
What I have intending is having the Catch block handle any errors server side, but to also use THROW to send a message to the FE, giving it information about what went wrong and therefore opening the opportunity to let the FE correct things on that side as well. Obviously this should never be done without first cleaning up what procedure started.
While I imagine not every DB developer out there would do things that way, for the case of my project this is a very useful thing to have.
Thinking about what you say with the custom error system, I think I may go a similar route. Although I'm not sure what you mean by 'it's only legacy'.
Perhaps if MS would add a error/message system similar to sp_addmessage and Raiserror but separated per database.
Thanks for the comments.
------------------------------------
Reply:
Points 2 and 3 go hand in hand there, and I can see the potential issues with that. Since any custom messages are serverwide they won't be associated with the DB, so migrating a DB may not migrate the messages as well, correct?
Yes, you would have to migrate those messages separately.
Thinking about what you say with the custom error system, I think I may go a similar route. Although I'm not sure what you mean by 'it's only legacy'.
In our system we can raise an error like this:
EXEC ael_message_sp @@procid, 16, 'errSomethingwrong'
'Yes, you did it wrong with acocunt %1', @p1 = @accno
or
RAISERROR(60012, 16, 1, @accno)
The latter is only legacy and God forbid that anyone uses this today in the system! (We abandoned that track over 10 years ago.)
As for the first, the way it works is that the code is looked up in a table, and if there is a text in the user's language, else we use the text in the system language. If the code is not there at all, the text in the fourth parameter is used. Many messages that are only internal checks that the UI does things right uses a generic code and the free text is all there is. As the example suggest, the text may be parameterised.
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
------------------------------------
Can't run Powershell script as scheduled task in Windows Server 2008 std SP2 x64
Hello Folks,
I've been looking at this on and off for a week and read several answers and posts and tried various things but I reckon I'm doing something so fundamentally wrong that they are not helping.
I've written a powershell script to map a drive, copy some files and unmap the drive. I've been triggering it with a .cmd file and when I execute it manually, it works as it should. When I try and run it from the Server 2008 task scheduler, it fails.
I've tried two methods - on the first it tries to run the CMD file as the action as a local administrator with highest privileges whether the user is logged in or not. This returns a 0x1 result and nothing happens. I've tried two commands in this file:
powershell -command .\script.ps1
and also C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe –Command "C:\Scripts\script.ps1”. but both fail. I've also tried using the WOW64 powershell program, with no luck.
I've also tried adding the action to start a program and added the powershell program with the same switches in it to run the script directly, it returns 0x0 result but still nothing happens.
Both tasks fail straight away. I've tried both the 64 bit and 32 bit powershell programs and set both to unrestricted. But they still fail. Everything runs manually using remotesigned anyway.
I think it's something basic, but this is my first time trying to run a script on Server 2008, can anyone please help?
Cheers
- Changed type Tiger LiMicrosoft employee Monday, December 12, 2011 12:57 AM
- Changed type Tiger LiMicrosoft employee Monday, December 12, 2011 12:59 AM
Reply:
Justin Rich
http://jrich523.wordpress.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
------------------------------------
Reply:
The drive mapping script was one I used earlier on an XP PC, which I used because the servers were on different domains. But you are right, it is unecessarily complicated. I've changed it to this, which also works if I run it directly from powershell.
$from = \\OtherMachineName\ShareFolder\*.CIF
$to = "\\D:\CIF\"
Copy-Item $from $to -recurse
It still gives the same 0x0 run result, but nothing happens. I've checked the event view and I can see the script logon, but nothing else gets written into the event log.
------------------------------------
Reply:
What version of powershell are you running?
try the following in the powershell window:
$Host.Version
Try running the command you are attempting to use from cmd, this may yield an error you haven't factored in.
Also, if you are running a script you should be using -file.
e.g. C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy unrestricted -file c:\script.ps1
------------------------------------
Reply:
Hello,
It's version 2:
Major Minor Build Revision
----- ----- ----- --------
2 0 -1 -1
Managed to get this working with both the drive mapping script and the UNC script this morning. I was making a mistake in the Syntax. Checked the help files for running the -Command switch and changed the action on the scheduled task to:
Program/Script:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add Argument:
-nologo -noninteractive –Command "& {C:\Scripts\Tyrellciffilewithlog2.ps1}"
Start In:
C:\Windows\System32\WindowsPowerShell\v1.0\
It was something silly I was doing, should have RTFM properly. Thanks for all you help guys!
------------------------------------
Reply:
Hi, i have the same problem running a script for copying files from one folder to another. The script runs fine if i do a batch file and doubleclick the file, aslo works fine within powershell; and just like you, i can not make it work through task scheduler.
i´m in a Domain using an account that has the logon as bath enabled for the task, and whenever i run the scheduled task i get the (0x0) error.
i removed my .bat from the run program and replaced the whole of it with what is stated in your post, still, i cant make it work. i tried the system32 and the wow64 too......
Can you enlighten me as what you meant by RTFM?
------------------------------------
Reply:
------------------------------------
Reply:
I'm struggling with this same process,
I've gleaned all I can from the thread and am getting a success in the actual scheduled item but the script isn't actually running, but it has a lot of arguments.
Program/Script:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add Argument:
-nologo -noninteractive –Command "& {c:\scripts\deleteold.ps1 -folderpath D:\temp -fileage 1 -listonly -logfile C:\scripts\deleted.log}"
Start In:
C:\Windows\System32\WindowsPowerShell\v1.0\
Any ideas?
------------------------------------
Reply:
I know you'll have it sorted but is are you in the correct security mode to run scripts? I mean by theat the executionpolicy setting.
Other than that, are you running it under a user account with the required rights to run all the script functions?
------------------------------------
Reply:
Ive had issues in the past configuring scheduled tasks with powershell scripts. To get mine to work I set them up like so
Script that takes NO arguments
Action: Start a program
Program/Script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add Arguments (optional): -command "C:\pathtoscript\script.ps1"
Script that takes additional arguments
Action: Start a program
Program/Script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add Arguments (optional): -command "& C:\pathtoscript\script.ps1 -Argument blah"
My scripts are simple scripts so I haven't tested everything, where some things may fail based on authentication and authorization, but I usually run them with a user who has admin privleges
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
- Edited by clayman2 Wednesday, August 8, 2012 5:10 PM
------------------------------------
Reply:
Also a side note, if your scheduled task finishes without error, but the script seems like it didn't run, Powershell has its own event log you can look into, to possibly narrow down, what went wrong with the script.
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
- Edited by clayman2 Wednesday, August 8, 2012 6:48 PM
------------------------------------
Error 1920 on installation
Hi,
I'm trying to install the FIM Portal and Service on a separate machine from the FIM Service.
This is the error I'm getting:
"Error 1920. Service 'Forefront Identity Manager Service' (FIMService) failed to start. Verify that you have sufficient privileges to start system services."
I've verified that the FIM Service account is not in any of the "deny access from the network", "deny logon as a batch job", "deny log on locally" security policies on the FIM Sync server.
I've verified that the FIM Installer account is a site collection administrator in SharePoint. (I'm using WSS 3.0 64 bit.)
The FIM Service account is in the FIM Browse group. (I've actually also added it to the FIM Administrators as well as local administrators groups to try to get around this.)
Before rolling back the installation when I get this error, I can see the FIMService database in SQL. The SQL Agent is running and I can create an ODBC connection to the FIMService database from the FIM Portal server. (I don't have named pipes enabled--could that be an issue?)
Am I missing something else?
I appreciate any help.
Thanks,
Sami
- Changed type Markus VilcinskasMicrosoft employee Sunday, March 17, 2013 9:31 AM
Reply:
Not sure if this is going to work in the environment I originally got the error at, but I recreated the error in my lab and when it got to the point where it reported the service couldn't start, I opened an elevated command prompt and ran "net start fimservice". The service started and then the install completed. I was then able to restart the service no problem.
------------------------------------
Reply:
That didn't fix it in the original environment. I guess it's time to start with a clean slate. Still open to ideas if anyone has them.
Edit: We installed on the same VM the sync service is on and it worked. The installation was significantly faster too. If we decide to spin up another VM and try again I'll report back here.
- Edited by SamiVV Wednesday, August 8, 2012 10:01 PM Update to this conversation with myself... :-)
------------------------------------
Windows 7 Administrator can't save, can't move file Destination Folder Access Denied
This problem should not exist. First symptom, from Notepad2 I can't save to C:\_Work folder. So I saved to my desktop and then tried to drag my document to C:\_Work.
I can use this folder when logged in as a regular user, but not when logged in as Administrator. I've checked the permissions. I've checked the 'Effective Rights'. All seems good.
I've spent hours searching for a solution. The solutions suggest things like 'Take Ownership'. That's not a solution. Not every account can own the folder. I've seen solutions like save all your files to a USB drive, delete and recreate the folder to fix the corrupted permissions. That seems ridiculous. I haven't tried it, but I wonder why are so many of us having this problem on Windows 7? If deleting the "corrupted" permissions is a solution, why are permissions getting corrupted so often? Corruption of permissions, at random, on Administrator permissions, is enough to make me scared of Windows 7.
It seems there is a bug in Windows 7. How can I fix the actual problem so it doesn't keep happening on this machine and ALL my other machines?
.
I've used forums since the old BBS days. Moderators are good. Moderators bring civility. But in the Expression Web forums, the most uncivil are the moderators and their entourage of thugs. They alienate customers and then abuse those who speak out against abuse.
- Changed type Niki Han Wednesday, August 8, 2012 1:43 AM
Reply:
Do not crosspost, please.
Thanks for understanding.
Milos
------------------------------------
Reply:
Hi,
I notice your another post http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/b0e12b1b-00c5-4eee-8a07-204feaf330fd is ongoing. In order to get the issue resolved more efficiently, please focus on one post each time. I will change this post to disscussion. Thanks for your understanding.
Niki
TechNet Subscriber Support
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here
Niki Han
TechNet Community Support
------------------------------------
Reply:
This thread is an entire day older than the one getting attention. I can detect your annoyance at seeing my other message. Imagine my annoyance at having to post it in a completely different forum. As I read that message again, it's clearly a message about Security and of some urgency. Why these replies of annoyance are the first attention given is hard for me to understand.
.
Beware of unmoderated thugs in the Expression Web forums.
------------------------------------
Reply:
I resolved the issue in this thread: http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/b0e12b1b-00c5-4eee-8a07-204feaf330fd
I discovered a most interesting bug in Windows 7 (and likely Vista). I hope the engineers will investigate.
In summary, grant 'Full Control' to a group such as 'HomeUsers', of which Administrator is a member, and grant ownership to 'HomeUsers' on the folder to which the Administrator account needs permission to Save or Move to. However, this doesn't solve the problem on certain files which were previously touched in certain ways.
.
Beware of unmoderated thugs in the Expression Web forums.
------------------------------------
Windows 8 wont came up normal after reboot of Dell Vostro Laptop
- Moved by Mike Kinsman Wednesday, August 8, 2012 5:23 PM off topic (From:MSDN Subscriptions Feedback)
Reply:
Unfortunately your post is off topic here, in the MSDN Subscriptions feedback forum, because it is not feedback regarding the MSDN Subscription.
For technical questions, one great source of info is http://answers.microsoft.com, which has sections for Windows, Office, IE, and other products.
If you're not sure where to post your question, you can try the "Where is the forum for…?" forum at: http://social.msdn.microsoft.com/forums/en-us/whatforum/
Please review the topic of the forum you're posting in before posting your question. Moving your post to the off topic forum.
Thanks,
Mike
MSDN and TechNet Subscriptions Support
Read the Subscriptions Blog!
------------------------------------
Jumbo Frames not working with Intel X520 KX4-KR Mezzanine cards
We have Dell M910's with the Intel X520 cards and jumbo frames does not appear to be working, or at least through the 8024-K switches in the blade chassis. This was working fine with the Server 8 beta. At first I though it was something with the new teaming feature, but if I take a single NIC and set it to use 9014 jumbo frames, I am unable to ping -f -l 8000 to an older Server 8 beta server on another blade in same chassis, through the same switch. Is any one else seeing this behavior with jumbo frames in general or with the X520 cards? Also, there doesn't appear to be an Intel driver for this card yet for 2012.
-Jeff
Reply:
After some further testing, it appears the problem is related to fragmentation or MTU. If I disable Jumbo Frames and try to ping -l 2000 with no -f switch, it still doesn't work. There is clearly a problem with this version of the driver for the Intel cards. We also have Broadcom cards in these same M910's and they do not have any problems with fragmentation or jumbo frames. I can ping -f -l 9999 all day long...
If there is anyone else out there that has the X520 cards in any of the dell blades or servers, can you please test and confirm you are seeing a the same problem?
thanks.. Jeff
------------------------------------
Reply:
------------------------------------
Reply:
------------------------------------
Reply:
------------------------------------
Reply:
You can download a version of drivers for Windows 8 and Windows 2012 from here http://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=21642
I hope this could help you!
------------------------------------
Reply:
------------------------------------
SCOM 2012 agent on esx5
hi there,
is it possible to install on esx 5 SCOM 2012 agent?
i was looking information about it but unfortunately i did not fine anything usefull....
Costa Curta
Reply:
ESX 5 is not a supported operating system for System Center 2012 OpsMgr. Even though ESX 5 is based on Red Hat, and Red Hat is supported, VMware has made modifications to create ESX. We don't test with ESX, so it's not supported.
Official support aside, I've also heard anecdotal reports that it doesn't actually work. The OpsMgr agent for Red Hat has a dependency on the lsb package, and the anecdotal reports are that lsb doesn't exist on ESX 5. But that's what I've heard from others -- it's not something that the product team has specifically investigated.
Michael Kelley, Lead Program Manager, System Center Cross Platform
------------------------------------
Reply:
See also this thread where a similar questions was asked: http://social.technet.microsoft.com/Forums/en-US/operationsmanagerunixandlinux/thread/9d8fd306-65f7-44a3-9f5a-8123119ec470
Michael Kelley, Lead Program Manager, System Center Cross Platform
------------------------------------
Reply:
thanks for your reply,
as i understand officially it is not supported. but with custom tools it is possible...
is it right?
Costa Curta
------------------------------------
Reply:
I don't know if it is possible. I have heard reports that it doesn't work out-of-the-box. It may be possible to make changes to make it work, but that's not something the Microsoft product team hasd tried and hence it is not something I can offer any help on. If there are other members of the community who have tried it, perhaps they will offer information about their experience.
As noted in the other thread that I referenced above, Veeam is a vendor who provides a management pack for VMware ESX. See http://www.veeam.com/vmware-microsoft-esx-monitoring.html?ad=menu.
Michael Kelley, Lead Program Manager, System Center Cross Platform
------------------------------------
What does this error mean - 'Orchestration is suspended because of NULL value in Transaction Tables'
Hi All,
I encountered an error in my orchestration and it gave the error - 'Orchestration is suspended because of NULL value in Transaction Tables' - does anyone know what does it mean ?
The error happened at the point of the orchestration initialisation because when I checked it using the orchestration debugger, only the Initilization step is logged.
I tried finding more about the error on the internet, but couldn't find any so I thought I'd ask the question here
Regards
Ashley
- Changed type LeoTangModerator Wednesday, August 8, 2012 10:24 AM
Reply:
This sounds like weird error.
Did you already take some steps to rule out the 'obvious', like redeploy of the application etc?
Jean-Paul Smit | Didago IT Consultancy
Blog | Twitter | LinkedIn
MCTS BizTalk 2006/2010 + Certified SOA Architect
Please indicate "Mark as Answer" if this post has answered the question.
------------------------------------
Reply:
Hi Jean-Paul,
I didn't redeploy the application because it is a production application. I processed 4 files through this application yesterday without any error but the files processed today failed with this error. I think the application is working fine without any issues.
I was wondering if there is anyone else in the forum that has encountered this error before.
------------------------------------
Reply:
I see, so the error just showed up en you're certain the application works fine.
Then my guess would be someone changed a setting in the environment, maybe something with MSDTC?
Jean-Paul Smit | Didago IT Consultancy
Blog | Twitter | LinkedIn
MCTS BizTalk 2006/2010 + Certified SOA Architect
Please indicate "Mark as Answer" if this post has answered the question.
------------------------------------
Reply:
------------------------------------
Documents deleted from folder automatically after opening the folder on SharePoint 2010 portal
HI,
I have a issue on SharePoint 2010 Portal,
when the user access the folder or after sometime later the documents got deleted automatically.
I can found those documents on site collection recycle bin.
when the user access the folder a JavaScript popup will shown to the user.
This issue is happening intermittently and after upgrading the OS to Windows 7 64-bit.
Can any one help me to solve this issue.
Thanks in advance
Does re-downloading an Update in SCCM always update the Deployment Package?
Reply:
Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund
------------------------------------
Reply:
hi,
I think if you select same Deployment package it will update.
Julien
- Edited by jdulongc Wednesday, August 8, 2012 1:48 PM
------------------------------------
Reply:
------------------------------------
Reply:
The reason I ask the question is that I've opened the folder containing the actual update and the Date Modifed on both the folder and the Cab file contained within, has not changed. Form that info, it looks like the file has not been updated.
------------------------------------
Need an Help on Xp_Cmd shell and BCP command
Hi ,
My Query goes as shown below
Exec xp_cmdshell ' bcp "Select * from Test..T2" QueryOut "C:\Users\santhoshh\Desktop\Novels\Results.txt" -T -c -t"|" -S Santhoshh\SqlExpress'
Here I have my local severe with name Santhoshh\SqlExpress and within that i am trying to acess my table T2 which has few columns from the database Test and trying to put into a txt file with "|" separated values. But whenever i am executing this i am getting an error as below
SQLState = S1000, NativeError = 0
Error = [Microsoft][SQL Server Native Client 10.0]Unable to open BCP host data-file
NULL
Please help me out in debugging this query i dont know hw the bcp command wrks.
thanks,
Santhosh
Please have look on the comment
Reply:
can you try to change the path of the output file to non system folder, say C:\TestFolder\Results.txt OR D:\Results.txt ?
regards
joon
------------------------------------
Reply:
Hi ,
It worked with my local path C:\Users\santhoshh\Desktop\Novels\Results.txt after adding the user and giveing read write permissions to it.But now i am trying to access a remote server \\ <>\Test\Result.Txt but this is now giving an error as mentioned before. So is thr any condition or anything that has to be added in remote serevr.
Please let me know as this crucial.
Please have look on the comment
------------------------------------
Reply:
EXEC master..xp_cmdshell 'bcp "YourDatabaseQuery" queryout "YouCSVFilePath" -c -t, -S "ServeName\InstanceName" -U bcpuser -P bcppassword -w' EXEC master..xp_cmdshell 'bcp "SELECT EmployeeID,NationalIDNumber FROM AdventureWorks.HumanResources.Employee" queryout "E:\Test\Sample.csv" -c -t, -S SSSLT105\SQLEXPRESS08 -U sa -P 123456 -w' EXEC master..xp_cmdshell 'type "YourInitailCSVFile" >> "YourAppendedCSVFile"' EXEC master..xp_cmdshell 'type "E:\Test\Sample.csv" >> "E:\Test\SampleAll.csv"' EXEC master..xp_cmdshell 'bcp "YourDatabaseQuery" queryout "YouXMLFilePath" -f formateFile-c..xml -T, -S "ServeName\InstanceName" -U bcpuser -P bcppassword -w' EXEC master..xp_cmdshell 'bcp "SELECT EmployeeID,NationalIDNumber FROM AdventureWorks.HumanResources.Employee" queryout "E:\Test\Employee.xml" -f Employee-c..xml -T -S SSSLT105\SQLEXPRESS08 -U sa -P 123456 -w'
Please let me know if this doesn't work for you. Hope I have answered you correctly.
Thanks,
Hasham
------------------------------------
Reply:
Tried by changing the path but did not wrk. So is there anything that need to set on remote server
Please have look on the comment
------------------------------------
Reply:
For this to work, the service account for SQL Server must have write permission to the location where you write the file.
However, there is reason to reconsider the strategy. xp_cmdshell is best disabled, and as you have seen there is some hassle when you write files to remote shares.
It may be better to write an application program that can run BCP directly and not from within SQL Server. This relieves you from the file-permission issues.
SSIS is also an option, but Express Edition does not include Integration Services.
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
------------------------------------
Reply:
Hi,
Can u please explain me hw to set the service account of sql server to give a read write permission to destination remote location
Please have look on the comment
------------------------------------
Reply:
Right-click the file, select properties. Go to the Security tab and find your ways around. If you have more question, please try a forum for Windows security.
To change the service account for SQL Server, use SQL Server Configuration Manager. Right-click the server, select the Log On tab where you can set the service account. (You may need to do this if you are using NETWORK SERVICE.)
You should probably consult your Windows administrator for which account to use etc.
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
------------------------------------
Winsat.exe formal starts automatically...
Hello,
I have a problem with WinSat on a Lenovo Thinkpad W520. After Windows 7 SP1 is deployed I log in with the local administrator and add the computer to domain (or create a new username - seems to have the same behavior), then I logout and login with a domain account or a new created username. Right after login the winsat window starts automatically and runs all the tests ( I noticed in the log file that the command line is "winsat.exe formal").
This behavior is only with this model of laptop. This is not encountered on a Thinkpad W510 (which has similar hardware). I noticed that only after the winsat runs the tests the Aero theme will be enabled.
During deployment I apply a previous configured and saved power scheme, the Nvidia drivers are not imported into sccm drivers (doesn't install - don't know why) but I have a step in task sequence witch installs the nvidia software - including drivers.
I also tried to run winsat before the end of task sequence with no success. I have to mention that the local administrator has already Aero enabled and this issues is encountered only when I logon with a new user (created or domain user). This winsat tests runs only once no matter if I create 2,3... users.
I tried to figure out what starts the winsat tests, why and how to fix it not to start without any success.
Can you give me some advices, ideas, something that will help me to fix this issue and stop winsat running automatically?
Thank you!
Reply:
------------------------------------
Reply:
I usually run winsat formal as a command line step in the end of the task sequence
Yes! I also tried this but the same behavior, after I logged in with a new username, the WinSAT run automatically, it doesn't matter if winsat datastore is already populated with initial and recent xml files. This is why I asked for help here, maybe somebody give me an idea on how should I fix this issue.
I also noticed that it will create a REG_SZ entry in HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce : WinSATRestorePower --- powercfg -setactive 037....... (its the id of the power settings profile), but this entry disappear after the winsat fisinh its tests.
LE: I found that winsat is started by the NVIDIA Display Driver Service. The solution is to set that Windows service on manual, or disable it.
- Edited by Emilian Serbanescu Friday, August 10, 2012 12:34 PM Found what cause winsat to start
------------------------------------
An implementation of JSONObject for C#
This is my first post here.
I am working on the windows phone App. And found it does not support the JSON class as JAVA. Neither a good solution on web search. So I designed a class that can deserialize the Json format data . It worked!! This class can just work like the one in JAVA. You don't need to know the data format in advance. It's an O(n) algorithm.
/// <summary>
/// Class Name:JSONConvert
/// Description:JSON Class as JAVA's
/// Authors:ppgame (The deserialization part is by ppgame. The serialization part is from http://www.mzwu.com/)
/// Email: ppgame.mit@gmail.com
/// Date:2012-08-07
/// </summary>public static class JSONConvert
{ #region Global Variables private static char[] _charary; private static int _aryend;
No comments:
Post a Comment