Sunday, February 20, 2022

I can only ping my wireless router if I have a Static IP Address

I can only ping my wireless router if I have a Static IP Address

Is there a reason that I am able to connect to a wireless router, but I am not able to ping the wireless router by its IP address or access via http or https. If I login to the DC or File server I am able to ping the IP and access via http or https. Also, if I assign a static ip to my laptop I can ping and acccess via http or https.

Thanks...B


  • Edited by Bluem1 Thursday, January 24, 2013 4:15 PM
  • Changed type tracycai Friday, February 1, 2013 8:27 AM

Reply:

Hi,

You may look into the router's setup and check if your computer is defined with a static IP address. Does the issue also occur on other machines?

Also, update the router's firmware.


Tracy Cai

TechNet Community Support


------------------------------------
Reply:

Is DHCP working on your network? as servers would normally have a static IP.

if you do a ipconfig without the static IP and you get a 169.x.x.x address DHCP is not working for the PC.


Gareth | IT Support Norwich


------------------------------------
Reply:
You have to find out what the IP address is when DHCP is set. Is a firewall coming up that blocks ICMP packets? What is the netmask and default gateway? Do you have two DHCP servers running on that network?
  • Edited by foggy_windows Wednesday, January 30, 2013 9:19 PM added question

------------------------------------

Running laptop on A/C power

How safe is run a laptop Presaio Cq56 without battery , just with the charge cord a/c ? just to save life battery,, ty

Reply:
How safe is run a laptop Presaio Cq56 without battery , just with the charge cord a/c ? just to save life battery,, ty
See your second post.

------------------------------------

FIM2010 R2 C# Custom Workflow

I've just started a new project on CodePlex with custom workflows for FIM 2010 R2. You can read more about it here and find a link to the CodePlex site as well http://blog.goverco.com/2013/01/fim-2010-granfeldt-workflow-activity.html

Regards, Soren Granfeldt
blog is at http://blog.goverco.com | twitter at https://twitter.com/#!/MrGranfeldt



Reply:

Soren,

Your embedded link has a ) in it which makes the link result in a page not found...

It's great you share these kind of workflows. I've always hoped for something like the FIM ScriptBox but then for workflows... After all, don't we all need the same workflows?

* unique value

* Powershell execution

* code execution like yours to lower the amount of custom workflows

* ....

I know we all like to do things "our" way, with our own coding approach, but it would be awsome if some store could be maintained.

Kind regards,

Thomas


http://setspn.blogspot.com


------------------------------------
Reply:

Hi, Thomas

Thank you. I fixed the link.

I'm planning to publish more and more workflows to this library and would of course like to have co-coders. I agree that I would be nice to have one go-to place for all your workflow needs - but my best bet right now is this CodePlex. I already have a few more workflows that is gonna go into the project.


Regards, Soren Granfeldt
blog is at http://blog.goverco.com | twitter at https://twitter.com/#!/MrGranfeldt


------------------------------------
Reply:
Hey, added a few more generic workflows to the project. Release is just out - http://blog.goverco.com/2013/01/updated-workflow-activity-library.html

Regards, Soren Granfeldt
blog is at http://blog.goverco.com | twitter at https://twitter.com/#!/MrGranfeldt


------------------------------------

Easy Print doesn't show up

Reposting here since no response in the network forum.

Easy print not showing up between 2 Win 7 systems. I've read tons of tech notes and posts and double checked requirements but I cannot get printers to redirect with Easy print. This is in prep for workers at home using RDP to their office systems. I have here two systems to test.

Both Win7 Pro SP1, up to date. Each has a couple of Brother printers set up that all use different drivers, so they don't just redirect by using the actual driver.

I have access to a cloud server that I can RDP into from either of these W7 systems and all printers show up and show as using Easy print as the driver.

When I try to RDP from one W7 station to the other the printers don't redirect and event log shows it didn't have a driver for these.

Local Policy settings for RDP printer redirection are default, no set, meaning "don't redirect" is not enabled. Obviously I have things set in the RDP client itself or I wouldn't see my printers redirected when I go to the cloud.

MS docs say a W7SP1 system already has .NET3.5 and RDP 6.1, and I've checked RDP. And they say W7 to W7 meets all requirements (blogs.msdn.com/b/rds/archive/2009/09/28/using-remote-desktop-easy-print-in-windows-7-and-windows-server-2008-r2.aspx)

So what the heck else does it want?

Oh, and it works fine going from either of these W7 systems as client to a W8 system as host.


Reply:

Hi ,


I notice you have posted this issue before. In order to avoid confusion and keep track of issue, I recommend to keep working with the previous thread as link below:

http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/4ed071c2-ffed-4dd8-8fb7-898b040a6e5c/#4ed071c2-ffed-4dd8-8fb7-898b040a6e5c


Thanks,


Vincent Wang
TechNet Community Support


------------------------------------
Reply:
Yes, there just wasn't any response for days. I've just gotten one there, so far just confirming the troubleshooting already done, but I'll see where it goes.

------------------------------------

Exchange 2010 SP1, Sending mail to multiple recipient with an attachement, How does it get saved in exchange 2010 database

Hi,

In Exchange 2003, When a user sends mail with an attachment to multiple users , that attachment get saved one time in a database and all the users client access service will point the file in to that database,  In Exchgange 2010 SP1, When a user sends mail to more that 10 recipient in different databases with attachement, Does this attachment get saved as one time file in a database or it get saved in multiple file(Number of recipient count) in a database.

 Can anyone explain

\\Arul


  • Edited by Arul Nathan Sunday, January 27, 2013 11:16 AM
  • Changed type Arul Nathan Wednesday, January 30, 2013 5:33 AM
  • Moved by Mike Kinsman Wednesday, January 30, 2013 6:00 PM off topic

Reply:

Hello Arul Nathan.

I suggest you to ask your question in the Exchange Server 2010 Forum at http://social.technet.microsoft.com/Forums/en-us/exchange2010/threads.

Bye.


Luigi Bruno



------------------------------------
Reply:

Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription.  This is a standard response I've written up in advance to help many people (thousands, really.) who post their question in this forum in error, but please don't ignore it.  The links I share below I've collected to help you get right where you need to go with your issue.

For technical issues with Microsoft products that you would run into as an end user of those products, one great source of info and help is http://answers.microsoft.com, which has sections for Windows, Hotmail, Office, IE, and other products.

For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), you should head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and search for your product name.

For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), you should head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and search for your product or issue.

If you really think your issue is related to the subscription or the TechNet Website, and I screwed up, I apologize!  Please repost your question to the discussion forum and include much more detail about your problem, that could include screenshots of the issue (do not include subscription information or product keys in your screenshots!), and/or links to the problem you're seeing. 

If you really had no idea where to post this question but you still posted it here, you still shouldn't have because we have a forum just for you!  It's called the Where is the forum for…? forum and it's here: http://social.msdn.microsoft.com/forums/en-us/whatforum/

Moving to off topic. 

Thanks, Mike


MSDN and TechNet Subscriptions Support
Read the Subscriptions Blog!


------------------------------------

Helath Service Bouncing - Override not working???

Hi, I am having an issue  on a number of agents which was first discovered when troubleshooting possible causes to 'Health Service Heartbeat Failures'.  On reading the blogs I think its nailed down to the agents exceeding thresholds for Health Service Private Bytes and I have tried to implement overrides based on reading Kevin Homans blog here http://blogs.technet.com/b/kevinholman/archive/2009/12/21/the-new-and-improved-guide-on-healthservice-restarts-aka-agents-bouncing-their-own-healthservice.aspx albeit I think this predates the current version of the Core Monitoring Mgmnt pack I'm using (6.1.7695.0 on SCOM 2007 R2)  As per guide I enabled alerting for the 4 individual Health Service Memory Utilization Monitors and diabled the Auto recovery so I could spot and investigate the issues.

The default value of the monitor is 300MB (314572800) and the override value I've set to is 600MB (629145600), however the affected agents are still alerting on teh default value NOT the higher override value.  I have implemented the override by creating a custom group (saved in custom OpmMgr Override pack) and made the member objects the entity type 'Health Service' for the specific affected machines.

I dont know why the override is not working as I think it is applied to the correct entity/object type - (have also just tried targeting the windows computer object of the affected machines like many of my other overrides but no joy either.)??  I have tried to check by going in to health explorer on one of the agents I think should have the override applied and when I go to override properties for the Private bytes monitor I can see that the threshold values read Deault - 314572800, Override - 314572800, EFFECTIVE - 629145600, which I read to mean that it IS picking up the higher override value 129145600??

Any help on how to apply this override would be greatly appreciated as its having a significant impact with volume of alerts/state changes!!  Just as an aside I think the reason the affected machines are breaching is due to the updated Print Server MP that I applied - since then the affected machines are all print servers which happen to host a very large number of print queues each (hundreds) and so I can see the agent having a lot of work monitoring those queues to the granular level that the Print Server MP offers as default.


Reply:

Think I've found that the override IS infact working - its just that the value of the breached thresholds were a digit larger than what I was first reading (which surprised me), ie the value for private bytes is eg 3583041536 which is 3.5 GBish, not 358ish MB as first glances thought.  So some of the machines have stopped alerting as they are using the override value and only a few are still alwerting as they are WAY over threshold.  Which is another issue I'll have to look into - still think Print MP is the cause but 3.5GB private bytes seems massive - all I can see is that the frequency of the alerts seems to have come down from every 20 mins to every 2 hours so much be a discovery or something running on that schedule that might need tuning.

Dont suppose anyone has come across any gottchas on the later Print Server MP ver 6.0.7004.0 - I only installed it as I though it had bug fixes to reduce noise but looks like the granular monitoring esp on Print servers managing hundreds on print queue might be hammering the agent itself.

Cheers


------------------------------------

Logon script working but mapped drives not showing in My Computer

Windows Server 2003 R2/Windows 7 Client

We use GPO's and every user has a vbs logon  to map drives.  However although the scripts work in XP they don't show any mapped drives in Win7. Below is a sample script

Option Explicit

Dim oWS, objNetwork

Set oWS = WScript.CreateObject("WScript.Shell")
Set objNetwork = CreateObject("Wscript.Network")

'  Map Drives
'  ----------

'  Map IT General Drive - I
'  ------------------------
   On Error Resume Next
   if objNetwork.ComputerName = "REL2519" then
      MsgBox "I Drive"
   End if
   objNetwork.MapNetworkDrive "I:", "\\company.org.uk\company\IT\IT General"
   if objNetwork.ComputerName = "REL2519" then
      MsgBox "I Drive Mapped"
   End if
   If (Err.Number <> 0) Then
      On Error GoTo 0
      objNetwork.RemoveNetworkDrive "I:", True, True
      if objNetwork.ComputerName = "REL2519" then
         MsgBox "I Drive Removed"
      End if
      objNetwork.MapNetworkDrive "I:", "\\company.org.uk\company \IT\IT General"
      if objNetwork.ComputerName = "REL2519" then
         MsgBox "I Drive Re-mapped"
      End if
   End If

Wscript.quit

If I run this from the desktop then the script works fine. Has anything changed in Windows 7?

PS the lines with Msgbox are for testing purposes.

Thanks

Tony

  • Changed type Mark L. Ferguson Thursday, February 5, 2009 9:22 PM no reply to followup suggestions
  • Edited by Tony Sys Admin Tuesday, September 22, 2009 11:32 AM

Reply:

I was having trouble with Novell mapped drives and scripts.  I accidentally found out that by turning off UAC they worked perfectly.  Maybe give it a try.  I'm sure it's not the magic bullet for all things. 

Turn it off, re-start and then try your scripts.  It's in the action center.  If it works at least you know that your scripts are working and your mapping is working.  And if it doesn't, it only cost you a little time.

Scott


------------------------------------
Reply:

If I remember correctly, logon scripts run at an administrative level.

Until you elevate an action, you are running at a user level token.

They cannot see each others drives.

To test this, open a command prompt  and type: net use 

Do you see any network drives listed?

Next, open a command prompt "as administrator" (right click and select "run as administrator").

type: net use

Do you see any network drives listed?

 


------------------------------------
Reply:

i was having the same problem earlier today and eventually got it to work, unfortunately I tried a few things in the last attempt that made it work and not sure which change fixed the problem.

 

to flayofish: when i was in the GP it mentioned that the logon scripts run as the user.


------------------------------------
Reply:
I am having this issue. When I run the net use as administrator I see my drive mappings. How do I fix this?

Thanks

------------------------------------
Reply:
I to have the exact same issue. Various ways of mapping drives via a script doesn't work at logon. (manually running is fine)

------------------------------------
Reply:
Have found the problem and this is because the script is run elevated but the view in My Computer is not elevated (standard user). (so if you were not a member of administrators, it would appear to function normally)

The "Group Policy Scripts can fail due to User Account Control" section here explains it: http://technet.microsoft.com/en-us/library/cc766208(WS.10).aspx

There is a temporary not recommended workaround here: http://support.microsoft.com/default.aspx/kb/937624

------------------------------------
Reply:
Have found the problem and this is because the script is run elevated but the view in My Computer is not elevated (standard user). (so if you were not a member of administrators, it would appear to function normally)

The "Group Policy Scripts can fail due to User Account Control" section here explains it: http://technet.microsoft.com/en-us/library/cc766208(WS.10).aspx

There is a temporary not recommended workaround here: http://support.microsoft.com/default.aspx/kb/937624

Thanks a lot Matt, the steps described in this section solved the problem here (it was the same problem of the first post) ;)


------------------------------------
Reply:

Sorry to dig up this thread but in my experience if you make the mapping permanent with objNetwork.MapNetworkDrive drive, share, True then it works without the registry fix mentioned.

I noticed this after I changed my scripted mappings from permanent to non-permanent and my Windows 7 users who are local administrators started having problems.  Standard users on Windows 7 don't experience this issue and XP is unaffected.

Hope this helps someone.






------------------------------------
Reply:
Just to clarify, I don't see the drive mappings from group policy because I'm an admin, but my standard users would see them?  I turned UAC off and rebooted.  My drive mappings did show after that, so that at least confirms the admin side of the issue.  Thank you!

------------------------------------
Reply:
I had this problem with Windows 7 clients running in a 2008 R2 domain.  We use logon scripts to map network drives.  Often only certain drives would appear under My Computer or Explorer.  All of the drives would exist at the Command Prompt.  If I stopped and restarted Explorer, all of the drives would appear under Explorer, etc.  The fix was to delay the logon script just a little bit.  In my case I added a ping command statement at the top of each logon script.  The ping command pings my default router and delays the rest of the logon script by about 4 seconds.  There is something goofy about the timing of logon scripts and when the Explorer shell starts.  The 4 second delay in the logon script seems to help.  Try it!

------------------------------------

SCCM 2012 SP1 Report Builder Not Available

I had Report Builder working on SCCM 2012 before installing the SP1 Beta.  Since installing SP1 I can't launch the report edit mode from the SCCM console, on the SCCM server or on a remote console.  I've checked the registry key change and tried the Run As Administrator, no luck.

The symptoms are exactly like what we saw when first trying to get Report Builder to launch from the console before the reg hack and run as were set. 

If it matters I'm running SQL Server 2008 R2 SP2 without CU on Windows Server 2008 R2 SP1, with .NET 3.5.1 and 4.0 installed.

I finally found the answer after a lot of trial and failure.  The answer is to remove the SRS point, and then add it again.  Start the console with Run As Admin and editing works again. 

Hope this helps someone else.  I'll bug it on Connect too.


Bob


Reply:

I had this same problem with SP1 RTM.  This fixed mine as well.  Thank you for posting!


------------------------------------
Reply:

Removing and reinstalling the Reporting Services point on SCCM 2012 SP1 box worked, too. Once the role was reinstalled, I had to run the console as administrator, choose to edit a report, let Report Builder load up completely, close Report Builder, and then I could open the console on my local workstation as my standard user, choose to edit a report, and Report Builder would actually install locally for me, too.

Thanks for the help!


------------------------------------

Subscrption Reports store to database

I have heard it is possible to set subscription reports to run and be stored directly into a database table to later be loaded by an ASP.NET ReportViewer.  If anyone knows how this is possible, I would appreciate any help.

That's the question, now here's the reasoning:

We are generating an ASP.NET application that hosts several SSRS reports on a highly secure server.  We have a majority of the structure working well, but are looking for a way support subscription reports that doesn't require writing to and reading from Windows folders or directly emailing data as neither are options.  

If you have any idea how we might support that task in other ways, I would very much appreciate that help, also.

Outlook configured on Windows 8 required elevation in order to access private key

Installed and configured Microsoft Outlook 2010 on Windows 8 Preview. Import PFX into the CAPI store with high or medium level security into the Personal store. Use Outlook to send the secure massage to yourself. If Outlook runs without UAC elevation the compose window will hang during send of e-mail with sign and encrypt option. It will hang as well while trying to read encrypted message. Outlook will hang during start up if the first message in Inbox is encrypted.
If user runs Outlook as administrator the password prompt dialog comes up and Outlook works in all the cases above.

Outlook should not have administrator privileges to access personal certificate store.

Over there is the additional info I provided to "Support Engineer" and didn't get any answer: http://answers.microsoft.com/en-us/office/forum/office_2010-outlook/outlook-configured-on-windows-8-required-elevation/c0090c0c-ab8d-4dea-9306-7d86ec2f9116

Could someone address the issue?

Thanks


Reply:

Since this is an Outlook issue, please discuss in:

http://social.technet.microsoft.com/Forums/en/outlook/threads


Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. "


------------------------------------
Reply:

The following is the quote from Microsoft Windows 8 team regarding the support request 112083072191994 submitted:

"We've committed a fix for this issue to ship as part of a roll-up in the second week of December on Windows Update. We still need dev and test to complete their triage and then we'll take it to ship room for approval. My guess is that this will be approved."

I thought ppl may interested to know.
Beast regards.

------------------------------------
Reply:
The answer can be found over here: http://social.technet.microsoft.com/Forums/en/outlook/thread/f543b04d-d510-4444-b803-1759f6c312c8?prof=required

------------------------------------

Hyper-V time Sync problem

Greetings everyone.

Yesterday we had a time problem over one of our production servers, 2008R2, I had not too much to investigate why it was caused, cause it was urgent to solve it, but maybe anyone here could lend me a hand in figuring why it was caused and avoid it happening again.

Any further investigation overt this problematic machine won't be possible, it was a virtual one which, for other reason, needed to be deleted, the physical is working again.

I'll try to explain the problem:

Yesterday, at 4PM, the machine suddenly changed his hour to 1AM of today (+9 hours), event viewer just showed and information message like "System time and date has been changed" by system service.This server was w32tm synced to es.pool.ntp.org, forzing the resync just let the correct time for about 20 secs, then it would go wrong again.

Forzing it with cmd time date, or control panel, same result.

So I checked hyper-V time sync from his physical machine, which we manually deactivated when we NTPed it, somehow it was activated, as soon as I deactivated it, time was again synced correctly with NTP.The time in the physical machine was correct all the time.

So the questions I would like to get solved would be:

-Why would hyper-v time sync mess up the virtual machines, even if hyper-V host time is correct? is there any way to fix this if its a known bug?

-Why would hyper-V time sync reactivate itself alone? any way to ensure this won't happen again?

All our enviroment is running under Hyper-V, if this has happened in this machine I would need a way to diagnose/fix it so it won't happen in anymore, sorry for not being able to give you more data about the problem we have, but I could add anything you need if its not "problematic machine related".

Regards.

Carlos.


Reply:

- Check the time zone between Host and VM

- On vmware (not sure if hv do the same), if you disable time sync between host and VM, the vm will still sync at each VM reboot


MVP Setup and Deployment - http://www.forum-microsoft.org


------------------------------------
Reply:

Timezones on host and in 5/6 VM were ok, just failed this one.

The machine wans't rebooted in +2 weeks, why would it suddenly resync with hyper-V and even not getting host time but a wrong one?


------------------------------------
Reply:

Hyper-V synchronizes the time between the hypervisor and VM during the BIOS boot process (I beleive all hypervisors behave this way) and then depends on Active Directory to properly correct the time.

Time sync between the VM and the hypervisor can be disabled (on a VM by VM basis) and then the time os only sync'ed on boot of the VM.  Otherwise it is sync'ed with the hypervisor over and over again.

If the client is using RDP and the VM is Terminal Services there is time that happens there too.  And it can happen within the session to attempt to correct to the time of the end users device within the session (so the time 'looks right' to the user).  This does not affect the machine time though.

This can all be driven through Active Directory computer and user policies.

Issues to be aware of:

http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/11/19/time-synchronization-in-hyper-v.aspx

http://support.microsoft.com/kb/2618634


Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will.


------------------------------------
Reply:

Thanks for the Links Brian, I kinda get an idea how Hyper-V time works.

The weird thing, going agains this link was that Hyper-V host time was correct, and it made only crazy one.

As can be red:

"Question #4 – What about if I am using a different time synchronization source (e.g. domain time or a remote time server)?"

I do not totally agree, I could't solve my drift until I disabled Time sync from Hyper-V, and my VM was synced to DC and NTP servers, yet Hyper-V overrided it, because, as I w32tm resynced or manual set cmd->time, It would only last for 1-30 secs, then the incorrect time was set until Hyper-V time sync was deactivated.

The VM machine nor the host hasn't been stopped/rebooted/paused in more than 2 weeks, and suddenly at 4PM the time decided to drift.

The timezones were the same, and correct in all machines, +1GMT, even when the time was wrong the timezone was still correct.


------------------------------------
Reply:

Yes, the behavior you saw was inline with what is expected.

The sync with Hyper-V will keep correcting the VM with the host.  Now, there was a comment in Ben's blog about a drift and how time sync is not maintained if the seperation is too great.

If you use an external sync source then you should disable the host sync.

The curious question that I would have is this:  Did the VM or the host have any process happening at this time that caused the CPU utilization to spike? 


Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will.


------------------------------------
Reply:

No Brian, the computer wasn't stressed at all at that time,  around 30-40% CPU usage.

Still this info is enough, before this post I thought hyper-V sync time and NTP could live together with no problems, now I see that it's better to just choose 1 of them.


------------------------------------
Reply:

No Brian, the computer wasn't stressed at all at that time,  around 30-40% CPU usage.

Still this info is enough, before this post I thought hyper-V sync time and NTP could live together with no problems, now I see that it's better to just choose 1 of them.


------------------------------------
Reply:

No Brian, the computer wasn't stressed at all at that time,  around 30-40% CPU usage.

Still this info is enough, before this post I thought hyper-V sync time and NTP could live together with no problems, now I see that it's better to just choose 1 of them.


------------------------------------
Reply:

No Brian, the computer wasn't stressed at all at that time,  around 30-40% CPU usage.

Still this info is enough, before this post I thought hyper-V sync time and NTP could live together with no problems, now I see that it's better to just choose 1 of them.


------------------------------------
Reply:

Hi,

I am also facing  same issue, can anyone tell me what is the frequency to syn  time between VM and host if  sync is enabled on VM managment in hyperv.

Now what i have done, i have just disabled the time sync option from VM and started to sync it from time.windows.com over the internet and also decrease the frequency of time to sync with ntp server.

seems things are working but still kept in under observation. will update you after one week.

Thanks,

Masud Hussain


------------------------------------
Reply:
seems things are working with me.

------------------------------------

javascript error in website

i am designing a website in frame work 4.0 . In that i use javascript  for validation in csharp.I using logo in header that is not visible while displaying notification pop up. After clicking ok button image is displayed
  • Edited by vijaya rajan Tuesday, January 29, 2013 10:42 AM
  • Moved by Mike Feng Wednesday, January 30, 2013 10:43 AM

Reply:
I'm not a website genius but maybe you should try to use jscript instead of javascript. (I'm still not sure if the're the same I've heard different things from different sources) also can you insert the HTML into your question. (Sorry If I'm not even close but this is my first question)

------------------------------------
Reply:

Hi Vijaya,

Welcome to the MSDN Forum.

Please ask it here: http://forums.asp.net/  

Best regards,


Mike Feng
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


------------------------------------
Reply:
This error occurs while i am inserting the data in database i am calling the function in javascript in code behind window . . . this occurs even if uses js in asp page .


------------------------------------

An unexpected error has occurred and a Watson dump is being generated: The system cannot find the path specified EXCH 2010

When you folow the KB  Outlook 2007/2010 security warning: "The name of the security certificate is invalid or does not match the name of the site" http://support.microsoft.com/kb/940726/en-us

When your type the following command on power shell:

Set-WebServicesVirtualDirectory -Identity "<var>CAS_Server_Name</var>\EWS (Default Web Site)" -InternalUrl https://<var>mail</var>.contoso.com/ews/exchange.asmx

the return of command is:

WARNING: An unexpected error has occurred and a Watson dump is being generated: The system cannot find
the path
specified.
The system cannot find the path specified.
    + CategoryInfo    
     : NotSpecified: (:) [Set-WebServicesVirtualDirectory],COMException

    + FullyQualifiedErrorId :
System.Runtime.InteropServices.COMException,Microsoft.Exchange.Management.SystemConfigur
ationTasks.SetWebServicesVirtualDirectory

Ewerton


sempretom


Reply:

Hi There,

First, you have to confirm that EWS, Autodiscover and OAB (Default Web Site) really exist, on your IIS structure  (Default Web Site). I show why:

This is happens because EWS (Default Web Site)  web directory doesn´t  exist on IIS structure (or have a problem).   For this issue, you have to do the simple thing on ESM:

Open Exchange Manage Console -> Server Configuration -> Client Access ->  On the Action Pane

Select  Reset Virtual Directory -  Browse..

Select the Virtual Directory You want to reapply Ex:

Autodiscover (Default Web Site)

EWS (Default Web Site)  (Select this)

OAB (Default Web Site)

Select OK   and after that  You need to run:

iisreset /noforce

If /noforce attibute wont work. use the simple command iisreset

Best Regards,

Ewerton Manzotte


sempretom


------------------------------------

default members for the community site in sharepoint

can able to set a default members as community members in Sharepoint 2013?

Reply:

use this code


// Get the users from the People Editor

    StringBuilder strUser = new StringBuilder();
                                    SPFieldUserValueCollection valuescoll1 = new SPFieldUserValueCollection();
                                    if (grpPicker.Entities.Count > 0)
                                    {
                                        if (grpPicker.ResolvedEntities.Count > 0)
                                        {
                                            foreach (PickerEntity entity in grpPicker.ResolvedEntities)
                                            {
                                                string spGroupname = entity.DisplayText;

                                                SPGroup spgroup = oWeb.SiteGroups[spGroupname];
                                                if (spgroup != null)
                                                {
                                                    strUser.Append("<ul>");

                                                    foreach (SPUser oUser in spgroup.Users)
                                                    {
                                                        strUser.Append("<li>" + oUser.Name + "</li>");
                                                        SPFieldUserValue SPFieldmember = new SPFieldUserValue(oWeb, oUser.ID,                                                          oUser.Name);
                                                        valuescoll1.Add(SPFieldmember);
                                                    }
                                                    strUser.Append("</ul>");

                                                }

                                            }
                                        }
                                    }

//add the  Members  to the members list

 SPList memberslist = newWeb.Lists["Community Members"];
                                        if (memberslist != null && valuescoll1 != null)
                                            foreach (SPFieldUserValue oMemeber in valuescoll1)
                                            {
                                                SPListItem MembersListItem = memberslist.Items.Add();
                                                MembersListItem["Member"] = oMemeber;
                                                MembersListItem.Update();
                                            }

                                        newWeb.Update();


------------------------------------

Unable to deserialize the existing configuration file when attempting to save changes to workerrole configuration

I open the azure console, I go to my deployed worker role application, I select the "configure" "tab", I make a change and click save. 

At which point I get an error: Unable to deserialize the existing configuration file.

Very weird. It just suddenly started happening. What does work is if I download the file, make the change and then re-upload. It's a pain to have to do this and this error shouldn't be happening...


Reply:

Hi MichaelWiles,

Did you retry the operation and see if you are still getting same error? If yes, can you please attach a screenshot?

What browser are you using?

What is the change you are trying to perform?

Thanks,

Hari


------------------------------------
Reply:

Hi Michael, 

Please try this operation in the previous portal.  The previous version of the portal may be accessed by clicking on your user name in the upper right-hand corner and selecting previous portal.  Please let us know if this resolves your issue.

John


------------------------------------
Reply:
I'm getting a similar error trying to change the configuration on a web role from minimal monitoring to verbose:

The monitoring configuration options updated successfully, but deployment configuration options could not be updated. Unable to deserialize the existing configuration file.

First noticed it yesterday around 12 PM eastern. Happens on all services we have deployed.

------------------------------------
Reply:
We have been receiving this error since last week on all the new deployments, more or less around the 25th of Jen like the others
  • Edited by DanieleB_ Monday, January 28, 2013 8:29 AM

------------------------------------
Reply:

I've been having the similar issue over a week now in multiple environments.

Eventually, I had to use an old portal to change configuration.


------------------------------------
Reply:

I have the same problem from friday

Any update in the portal?

Best regards,





------------------------------------
Reply:

Always get the error

Can't post a screen shot because apparently my account is not verified and I don't know how to verify it (I get a message when I click submit that I'm not allowed to include links the body until we are able to verify your account).

Using Chrome

Doesn't matter what I change the issue occurs.


------------------------------------
Reply:

Works on previos portal.

One thing that is interesting, when I download the file and open it with a mac it is gibberish, suggesting that the character set that the file is in is wrong. This may be the reason why it cannot be deserialized. Maybe the console only supports particular character encodings.

What encoding do you suggest I use to save the file in to upload? I'm using linux.


------------------------------------
Reply:

I think that the problem is with an update with the portal, I checked my config files and all it's ok.

We hope Microsoft'll fix it asap.

Best regards,


------------------------------------
Reply:

For me it's working again in new portal!!

Have a nice day!


------------------------------------
Reply:
Confirm.

------------------------------------

Moderators, please remove the spamms from the forums !!!

Kindly clean the forum from those adult postings.


OM (MCITP) | Blog


Reply:
Hi Om Prakash Nath,
For next time when this forum is under a Spam Attack you can report that in the below Thread if it hasn't already been.

Report Spam Here 8
http://social.technet.microsoft.com/Forums/en-US/reportabug/thread/712c2d2d-65b7-46f5-b479-b74157acae2c

Martina Miskovic


------------------------------------

Set environment variable from Azure Role to use in PHP

I'm using this code:
Environment.SetEnvironmentVariable("ConnectionString", connString, EnvironmentVariableTarget.[User|Process|Machine]);
on OnRoleEnvironmentChanged event of Azure RoleEntryPoint class to set a connection string on an Environment Var and use it in PHP but it doesn't work.

Using User or Process as target it simply doesn't work, using Machine the role cannot execute the instruction (maybe because of user restrictions)

How can I set variable from Azure Roles in .NET to consume in PHP?


  • Edited by DanieleB_ Tuesday, January 29, 2013 1:33 PM

Reply:

Hi,

You can try to add Environment Variable via Powershell script at the machine level:

http://social.msdn.microsoft.com/Forums/en-US/windowsazuredevelopment/thread/cf749738-2f08-4a78-8a52-7c9c59722486

http://blogs.realdolmen.com/experts/2011/04/04/lightweight-php-application-deployment-to-windows-azure/

Thanks,


QinDian Tang
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


------------------------------------
Reply:

This solution set the variable on the startup task but It doesn't work for me because I need to set the value on Machine target when the event OnRoleEnvironmentChanged is invoked.

Should it works instead?


------------------------------------

Terminal Server 2008 Office 2007 will not install

Hi All

A printer engineer uninstalled Outlook 2007 from our terminal server without a by your leave, then disappeared, users complained that Outlook was not working as it was not intalled on the TS anymore, so I uninstalled Office 2007 as required then tried to reinstall Office again, however on changing to install mode Change user /install and clicking on the exe file the office installation screen shows for a few seconds and then disappears, I have run the Microsoft Office unstall program from the web the check that Office did indeed uninstall correctly but I still get the same results, I have noticed that my installation files (located on the TS Server do not have a TermSRVR.mst file available, however as it was working fine before I can't see what is the issue.

Any help would be much appreciated


Ray


Reply:

Do you havevolume license version of Office 2007?  You need to use a volume license version of Office 2007 for Remote Desktop Services/Terminal Services.

Office 2010 licensing for Windows 2008 RDS/Terminal Services ...

In order to install and run the following Office 2007 suites or apps on ... I just find   this Microsoft document about Office and RDS licensing rules : ...
www.chicagotech.net/netforums/viewtopic.php?f=1&t=16991

Bob Lin, MVP, MCSE & CNE Networking, Internet, Routing, VPN Troubleshooting on

http://www.ChicagoTech.net

How to Setup Windows, Network, VPN & Remote Access on

http://www.howtonetworking.com


------------------------------------
Reply:

Hi Bob sorry for the delay, I do have a Volume License and still get the issues.

When the engineer uninstalled Outlook on the TS Server, I had to uninstall Office and then try to reinstall it, however the issues as above arose, I have since found out that Office 2007 does not use TermSRVR.mst files as in thie article below, which I have followed: http://forums.mydigitallife.info/threads/13393-Terminal-Server-and-Office-2007 the error i have is

Resource File Manager : Selecting resource file (File=C:\OfficeBuild\Office.en-us\OSETUPUI.DLL) for CultureTag [en-GB].
Running in [InstallExecutionMode]. Run from TEMP folder at [C:\Users\ADMINI~1.IL\AppData\Local\Temp\2\Setup00001734].
Loaded resource file [C:\Users\ADMINI~1.IL\AppData\Local\Temp\2\Setup00001734\OSETUPUI.DLL] (CultureTag=en-US).
Loaded Dll : C:\OfficeBuild\ProPlus.WW\OSETUP.DLL.
Catalyst version is : 12.0.4518.1014
JobExecutionMode is InstallExecutionMode.
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-0117-0409-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-0016-0409-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-0044-0409-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-0115-0409-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-0116-0409-1000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-001A-0409-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-0018-0409-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-002C-0409-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-0011-0000-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-0019-0409-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-0010-0409-0000-0000000FF1CE}"
LIS: start parsing setup xml
LIS: finished parsing LIS package "{90120000-001B-0409-0000-0000000FF1CE}"
Product: PROPLUS
  AddOnGroup Culture: en-us
    AddOnId: OFFICE.EN-US
    AddOnId: ACCESS.EN-US
    AddOnId: WORD.EN-US
    AddOnId: PUBLISHER.EN-US
    AddOnId: PROOFING.EN-US
    AddOnId: INFOPATH.EN-US
    AddOnId: POWERPOINT.EN-US
    AddOnId: OUTLOOK.EN-US
    AddOnId: EXCEL.EN-US
No upgradable applications found
Parsing config.xml at: C:\OfficeBuild\ProPlus.WW\config.xml
Preferred product specified in config.xml to be: PROPLUS
Product Deployment Mode: PerMachineManaged
Target Deployment Account Security Identifier: S-1-5-0
Loading package metadata: C:\OfficeBuild\Office.en-us\OfficeMUI.xml
Loading package metadata: C:\OfficeBuild\Office.en-us\OfficeMUISet.xml
Loading package metadata: C:\OfficeBuild\Excel.en-us\ExcelMUI.xml
Loading package metadata: C:\OfficeBuild\Outlook.en-us\OutlookMUI.xml
Loading package metadata: C:\OfficeBuild\PowerPoint.en-us\PowerPointMUI.xml
Loading package metadata: C:\OfficeBuild\InfoPath.en-us\InfoPathMUI.xml
Loading package metadata: C:\OfficeBuild\Proofing.en-us\Proof.es\Proof.xml
Loading package metadata: C:\OfficeBuild\Proofing.en-us\Proof.fr\Proof.xml
Loading package metadata: C:\OfficeBuild\Proofing.en-us\Proof.en\Proof.xml
Loading package metadata: C:\OfficeBuild\Proofing.en-us\Proofing.xml
Loading package metadata: C:\OfficeBuild\Publisher.en-us\PublisherMUI.xml
Loading package metadata: C:\OfficeBuild\Word.en-us\WordMUI.xml
Loading package metadata: C:\OfficeBuild\Access.en-us\Access.en-us\AccessMUI.xml
Loading package metadata: C:\OfficeBuild\Access.en-us\AccessMUISet.xml
Loading package metadata: C:\OfficeBuild\ProPlus.WW\ProPlusWW.xml
Disabling option OutlookVBScript on TerminalServer
Setting option PPTSoundFiles to Absent on TerminalServer
Setting option WebDebugging to Absent on TerminalServer
Disabling option MsInfoFiles on TerminalServer
Error:  Type: OutOfBoundsIndex.
Error:  Type: OutOfBoundsIndex.
Error:  Type: OutOfBoundsIndex.
Catalyst execution finished: 01/29/2013 17:18:46.  Return code: 30061.  Exception caught: OutOfBoundsIndex.
PERF: TickCount=343061 Name=RunSetup Description=End function

Can anyone help in deciphering this?

=========================================================================

This seems to be a language issue as indicated by the reference "Return code: 30061.  Exception caught: OutOfBoundsIndex",or it may be that the uninstallation of Outlook on its own and the consequential uninstalltion of Office as a whole has left some remenants of files still in the registry, I have used the microsoft Uninstall Fix it Site to try and clean up the uninstalled files however this has failed to work, I am at a loss at this stage so any help is much appreciated.

Of course it could be that I am trying to do this remotely which I realise is a No No I will not be able to get on site untill Friday AM to test


Ray




  • Edited by RayGriffiths Wednesday, January 30, 2013 1:26 PM

------------------------------------

parameters visiablity based on condition

hi,

i have created one report in that i have 20 parameters,in that one parameter has radio button

based on radio button i want disable some other parameters

how can i resolve this

which properties i have to set,

plz help me

Regards

Arjun


mallis


Reply:

It's not possible disable a parameter totally in SSRS but you can use cascading and pass some default value

http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/28ff3153-49dc-403d-a611-763072a73089

Regards,Eshwar.


Please don't forget to Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful. It will helpful to other users.


------------------------------------

Customization on File Menu Page

Is it possible to customize the File Menu Page options in any of the products in Office 2013 (particularly Word, PowerPoint and Excel).

For Eg. If I wanted to added my own options for sharing the document with team. Can i add/configure my own options under "File">"Share">"Send by XYZ", or "Post to Facebook", or "Share on twitter"??


Vishal Soni


Reply:

After bit more research, i guess i found something useful.

http://blogs.msdn.com/b/johnrdurant/archive/2009/10/27/customizing-the-backstage-view-and-ribbon-ui-in-office-2010.aspx

I hope this would work for Office 2013 also.


Vishal Soni


------------------------------------
Reply:

Hi Vishal,

For the Office development specific topics, we'd recommend the Office for Developers forums instead:

http://social.msdn.microsoft.com/Forums/en-US/category/officedev

See also:

Overview of the Office Fluent Ribbon
http://msdn.microsoft.com/en-us/library/office/ff862537.aspx


Max Meng
TechNet Community Support


------------------------------------

No comments:

Post a Comment

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...