File History creates redundent history versions
Hello,
I am enjoying the new File History function from Win8. However, today I met a problem which I can not solve it by myself.
If I simply remove the library and add it again later, the backup alway create unnecessary history versions in my backup disk!!!
Could somebody look into this serious issue as soon as possible?
By following instruction it's very easy to reproduce the issue:
1. Create a new folder like "tempfiles", copy some files in. for example 1.txt, 2.txt and 3.txt
2. Create a new library "templibrary"and include the folder "tempfiles"
3. Run the first backup to an external disk or whatever an network share location
Now you should see only one version for each file in the backup location.
Then
4. Delete the folder /users/Appdata/Local/Microsft/Windows/FileHistory. This will clear your local backup databases and configuration. Why I do this? Because I want to test what will happen if I later on re-install the Windows 8 system.
5. Now also delete the library "templibrary" but keep the folder "tempfiles" on disk
6. Create a new file 4.txt in folder "tempfiles"
After doing all above
7. Open File History from control panel, you will see you need to confige it again since we delete the cached configuration in step 4. Just config it as the same of first backup, i.e. select the same backup location
8. Run backup. You will see the new created file 4.txt is not backed up. - It's correct because the folder "tempfiles" is currently not included in any library
9. After the backup finished, create a library "templibrary2" and include the "tempfiles" again.
10. Run backup. You will see the file 4.txt is now backed up in you backup location. However, you will also see, all files you backed up before now have a 2nd version even you didn't change anything of those files!!!
I hope microsoft can fix this bug as soon as possible! Basically I have 2TB data to backup, and if it always create redundent version, it's absolutely waste disk spaces, and also waste my time!
- Changed type Arthur Xie Monday, December 10, 2012 8:27 AM
Reply:
Well this is the world we live in And these are the hands we're given...
------------------------------------
Fixed order in column group
Hi,
I need to create a matrix in which the data are grouped by age segment (adult, teen, child). I'd like to sort the data in fixed order, not in alphabetical. Is it possible?
Wrong order: adult child teen
Good order: adult teen child
Thanks.
P.
Did you tried creating a VM by importing from template.... you dont have to import the whole VHD.
1. Make up a new Win 2008r2 Install install all the patched & apps who can survive a sysprep.
2. Add an additional disk (diff disk) & sysprep now.
3. Export the machine after shutdown lets call the folder as ExpWin8.
4. Copy folder ExpWin8 as ExpWin8fast, delete the big VHD file that's in there & relink the diff HDD to the base VHD in ExpWin8.
5. In folder ExpWin8fast create a dummy text file & rename it as the bigVHD you deleted.
6. Now import the VM from ExpWin8fast.
In this way all the machines that you create will be using the same base VHD with their separate DIFF disk. The method doesn't works on HyperV in Win2012 as it verifies the link while importing.
Let me know your thoughts on this trick.
yup
- Edited by yup. _Microsoft employee Thursday, January 10, 2013 2:31 PM
- Changed type Lawrence, Friday, January 11, 2013 2:46 AM
- Changed type yup. _Microsoft employee Friday, January 11, 2013 3:02 AM
- Changed type Lawrence, Friday, January 18, 2013 3:35 AM
- Changed type yup. _Microsoft employee Friday, January 18, 2013 3:37 AM
Reply:
The problem that most folks get into with linking from a root VHD is that they 'forget' about the root VHD.
And in your case you are breaking system knowledge of it.
In the short term it works. And for cases where you are deploying and destroying machines for things like development and test it works. For that type of work, I have been doing tricks like this for years.
But for long running machines that have a year or multi-year lifetime (and multiple staff members) it does not work. It will be broken by folks over time. And there will be a panic post here, in the forums, trying to understand what happened when X was done. Or why the recovery from backup doesn't work, etc.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will.
- Edited by BrianEhMVP Thursday, January 10, 2013 3:58 PM
------------------------------------
Reply:
Certainly this is not for production boxes, for 2 reasons. One that you already said about i.e. disk chain & second for the diff disks.
This is useful in cases when you 've to deploy multiple VM's quickly & save some disk space.
yup
------------------------------------
Reply:
Again. Disk space is only saved if no changes are made within the child VMs.
If any installation becomes common among all the children (such as a patch, or an application) then any argument of disk savings beings to be lost.
Again, this works strictly for Dev and Test - when the root image is always up to date, and nothing, or very little is added to the child VMs.
I want to make this very clear, as this is a model that is touted for VDI and for disk savings - and whenever the VMs are long lived (over 6 months) or personalized within the differencing VHD the savings really becomes lost over time or is simply a few GB.
I have created routines that Export and Import VMs in this way. So I create one VM like this and use PowerShell to make duplicates using Export and Import. Also, using Provisioning Server I can generate hundreds in under an hour. Similar concept.
And with 2012 you can Import and Copy, thus not requiring the copy step any longer.
Not trying to discredit the idea in any way. It works for its scenario. And its model is the basis for many VDI management systems in production today.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will.
------------------------------------
Reply:
Slightly different way to do this by Chuck
yup
------------------------------------
Creating Applications Window
Rt Clk on your desktop > New > Shortcut.
Put this in the 'box' %windir%\explorer.exe shell:::{4234d49b-0245-4df3-b780-3893943456e1}
Name it, Applications
(Now) Open the desktop icon, probably you'll want to remove the nav tree, really no need for it in this case, select the View & Sort desired and Minimize it to the Taskbar... never close it or will have to be reconfigured from the desktop icon.... it has to be reset from that icon following a reboot.
W/ this you have everything in a familiar window & never have to leave desktop (switch screens, like to WinQ or Start) to access anything.
And done w/out any 3rd party add-ins. Together w/ Desktop Toolbar, yep, makes things really nice.
Enjoy
Cheers,
Drew
Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com
- Edited by Drew1903 Saturday, January 19, 2013 9:32 PM
Reply:
------------------------------------
Reply:
Thanks, again.
Drew
Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com
------------------------------------
surface pro configurations
- Changed type Cloud_TS Wednesday, January 30, 2013 2:19 AM
Reply:
What OS are you asking about?
I was not aware there was a Surface Pro in Windows 7.
Did I miss something?
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:
Hi,
For surface support, please post in the following forum:
Surface
http://answers.microsoft.com/en-us/surface/forum
Alex Zhao
TechNet Community Support
------------------------------------
Copy /Paste not working
- Changed type Vincent Wang-MCSC Monday, January 21, 2013 8:39 AM
Reply:
------------------------------------
Reply:
------------------------------------
Windows 8 metro remote desktop app vs Remote Desktop Connection Manager
I have previously used Remote Desktop Connection Manager to connect to client sites.
1) How do you name a connection? IN RDCM you could have Server Name and Display Name, now you only have an IP address (we connect to clients remote desktops)
2) When you are in a session, you cant Win-Tab, Alt-Tab or Win key to move away from the connection without minimizing the app first.
Kevin
- Changed type Arthur Xie Wednesday, January 23, 2013 8:15 AM
ADC related query
uag trunk with non-standard port automatically
Hi,
I want to publish application through non-standard port.
I don't know how I can modify the external port.
I want to do it automatically. Does any one knows a powershell command or another tool via cmd that can help me do that.
I manage to change the external port of the Sharepoint machine but not the UAG machine.
Thanks.
Reply:
Hey
Thanks for the post ,
As far as I know can be change only in IAG :
I'd be glad to answer any question
------------------------------------
Reply:
Hi,
thanks for the answer.
I saw that answer - your link - but its from 2011 and now I know that UAG sopport non-standard port application publication.
see in technet forum : 'Release notes for Forefront UAG 2010' under "Publishing and authentication"
in the link :
http://
technet.microsoft.com/en-us/library/dd772157/aspx
------------------------------------
Reply:
I'd be glad to answer any question
------------------------------------
Reply:
I want to change the external port automatically.
How can I do it?
------------------------------------
Reply:
Please
Read Ben Ari's Blog :
http://blogs.technet.com/b/ben/archive/2011/05/12/appwrap-and-sra.aspx
I'd be glad to answer any question
------------------------------------
Reply:
I change - this is what the blog does as well - the ports of the applications.
But I want to change the port of the "External Site Name" and in "External Site Settings"
------------------------------------
Reply:
I'v got what You mean ,
First My bad also that ask you for SP1 Installed , SP2 it's the fix of the external ports problem :
For Your Request to Change automatically the External port of the Site under Site Settings By PS Script Not seems to be applicable,
But I'm still looking for UAG Configuration that will provide an automation change solution .
I'd be glad to answer any question
------------------------------------
Reply:
I have the latest UAG - with SP3 - so non-standard ports publication should work.
now I am looking for automatically way to do so.
------------------------------------
ADC related query
Dear friends,
i need such information for the program .its running correctly but output is not correct so pls help me..................
what is the error in this program
/***********************************************************************//* */
/* FILE :adc.c */
/* DATE :Thu, Jul 07, 2011 */
/* DESCRIPTION :main program file. */
/* CPU GROUP :27 */
/* */
/* This file is generated by Renesas Project Generator (Ver.4.15). */
/* */
/***********************************************************************/
#include "sfr_r827.h"
#include "_DLY_R8C.c"
#include "_LCD_R8C.c"
void main(void);
void init(void);
int ReadADC(void);
//void DisplayLCD2Digit(char LineNumber,char CharPosition,char Data);
int i;
unsigned int ii,Data;
//unsigned char *data1;
void main(void)
{
asm("FCLR I"); /* Interrupt disabled */
prc0=1; /* Protect off */
/****************************************/
/* CPU Clock Setting */
/****************************************/
/* Note: Include asm("nop") for oscillator's stabilization period after clock setting is done */
fra20=0;fra21=0;fra22=0; /* High-speed on-chip frequency switching selects divide by 2 mode(fra2 bit 0, 1 and 2) */
cm13=0;cm05=1;cm02=0;cm14=0;ocd0=0;ocd1=0;fra00=1;
for(ii=0;ii<155;ii++);
fra01=1;/* High-speed on-chip oscillator selected(cm0 bit 2 and 5, cm1 bit 4, ocd bit 0 and 1, fra0 bit 0 and 1) */
ocd2=1; /* High-speed on-chip oscillator selected for system clock(ocd bit 2) */
cm16=0;cm17=0;cm06=0; /* No division selected for CPU clock(cm0 bit 6, cm1 bit 6 and 7) */
prc0=0; /* Protect on */
init(); /* Initial setting */
asm("FSET I"); /* Interrupt enabled */
lcd_init();
lcd_clear();
lcd_printxy(1,2," NSK ADC.. ");
delay_ms(1000);
lcd_command(0x0C);
//lcd_printxy(2,1," Ch:0 Value: ");
while(1)
{
//delay_us(5);
//delay_ms(100);
Data = ReadADC(); // Read digital value from the channel 0
delay_ms(50);
//data1[3]=Data;
//delay_ms(500);
//delay_ms(500);
delay_ms(50);
lcd_command(0xC0);
lcd_hex_byte(Data);
lcd_command(0xC9);
lcd_print_b(Data );
delay_ms(10);
// lcd_print_b(Data & 0xff);
// lcd_command(0xC9);
//DisplayLCD2Digit((Data & 0xff)); // Display the Lower byte
//DisplayLCD2Digit((Data & 0xff00)>>8); // Display the higher byte
//for(i=0;i<0x3ff;i++); // Delay
}
lcd_command(0x0C);
}
void init(void)
{
/****************************************/
/* Port0 Setting */
/****************************************/
/* Read/write data to register P0 */
prc2=1; /* Enable write to PD0(prcr bit 2) */
pd0=0xFC; /* Port P0 direction register */
/****************************************/
/* ADC Setting */
/****************************************/
/* When using the repeat mode, use the undivided XIN clock as the CPU clock. Do not select the fOCO-F as ADC operating clock */
/* Read A/D conversion result at ad register(00C1h-00C0h) */
/* Set AN0 pin to input port direction */
vcut=1; /* Vref connect bit "1- ON" , "0 - Off" internel Vreff*/
//vcut=0;
for(i=0;i<=122;i++);
adgsel0=0;ch0=1;ch1=1;ch2=1; /* Port p0 group: AN0 pin selected(adcon0 bit 0, 1, 2 and 4) */
md=0; /* One-shot mode selected(adcon0 bit 3) */
cks0_adcon0=1;cks1_adcon1=0; /* Operating clock f2 selected(adcon0 bit 7, adcon0 bit 4) */
bits=1; /* 10-bit mode selected(adcon1 bit 1) */
smp=1; /* With sample and hold selected(adcon2 bit 0) */
adst=1; /* Start A/D conversion(adcon0 bit 6) */
adic=0x00; /* Set interrupt priority level 0(adic) */
/* adgsel0=0;
adcon0=0x87;
adcon1=0x28;
adic=0x00;*/
}
int ReadADC(void)
{
adst= 1; // Start conversion signal
while(adst); // Wait until end of conversion
adst = 0; // Clear End of conversion flag
return((ad) & 0x3ff); // Return the Data Read
}
- Changed type MedicalSMicrosoft contingent staff Friday, January 25, 2013 6:11 AM discussion
Windows movie maker non-start & error message.
My problem with the Windows live movie maker is a error message & non-starting the program.
The problem continues even after (updating) Intel (R) Graphics and Windows Essentials 2012.
My last use of the movie maker capture was 12/25/2012, before the error message appeared with non-start.
Is there a sure solution to stop this problem?
Will uninstalling/reinstalling movie maker be helpful?
Signed: Lee V Payne-1/19/2013*.
Lee Payne
- Changed type tracycai Tuesday, February 5, 2013 7:25 AM
Reply:
Hi,
Before going any further, you might try to perform a system restore to go back to a previous status and see how it works.
In addition, you can take a clean boot and boot in safe mode to check whether it is caused by the third party applications.
Tracy Cai
TechNet Community Support
------------------------------------
OWA denying access to a user because of IP address
This is a SBS 2003 server. I have had it setup for years, with numerous people connecting and no one else has the issue. This is the first time this user has tried. I checked IIS and there are no restrictions.
David Zeichick Microsoft Small Business Specialist
- Changed type Aiden_Cao Monday, January 28, 2013 2:02 AM no response
Reply:
R, J
- Edited by Crakdkorn Friday, January 11, 2013 11:13 PM
------------------------------------
Reply:
What is the *exact error they are getting?
Jim
------------------------------------
Reply:
Hi,
How are things going? I just want to check the status of the issue. If you have any update or concern, please feel free to let us know.
Best Regards,
Aiden
If you have any feedback on our support, please click here
Aiden Cao
TechNet Community Support
------------------------------------
Deploying VMs, Server 2012 and fileshares
Hi I have a system that comprises a Server 2012 Library server, 2012 Hyper-V host cluster, 2012 File Servers for VMs and SCVMM 2012 SP1. Given this set up where all my VMs are stored on SMB 3 file shares it seems somewhat of a shame that when I deploy a VM from the library the hyper-v host still has to down load from the library and upload to the file server, seems a bit of a waste.
I was kind of hoping that there would be a way to have the VMM agent on the fileserver initiate the BITS copy direct to the file share and leave the Hyper-V host out of the copy process. This would seem to me to be any easy win as the Hyper-V cluster no longer owns the storage as it does with CSV, and others outside the cluster can write to it.
Even better would be to have the option to do the file transfer over SMB 3 (I understand why BITS is used, but there are times I want speed over the other benefits) then I'd get the benefit of things like ODX when the files are on the same server or the underlying SAN supports it.
Just wondering if this is in the pipeline or there are good reasons why this won't be done.
Cheers,
Stephen.
[FIM-TROUBLESHOOTING-RUN PROFILES] 0x8004100E - Invalid Namespace:
[FIM-TROUBLESHOOTING-RUN PROFILES] 0x8004100E - Invalid Namespace: http://social.technet.microsoft.com/wiki/contents/articles/15467.fim-troubleshooting-run-profiles-0x8004100e-invalid-namespace.aspx
Tim Macaulay Security Identity Support Team Support Escalation Engineer
SBS 2011 Computer Doesn't show up on any client machines.
Sbs 2011 just installed and migrated from Sbs 2003. Client computers (xp, Vista Business, Win7 pro) cannot see the SBS 2011 server while browsing for any computers. Mapped network drives always drop even though they have been checked off to recennect at logon. If you type \\SBS\share it will connect but never stay connected. several machines have run the http://connect succesfully but still do not see the SBS 2011 machine. Any help apprecaited.
- Changed type Sean Zhu - Friday, April 1, 2011 7:27 AM
Reply:
------------------------------------
Reply:
I ran into a similar problem with a small business server 2011 and a windows server 2012 added to the domain. Finding the problem was difficult at first, because there were other issues like opening the firewall on windows server 2012 to remotely manage disks by remotely accessing Server manager.
This at least enabled me to see the disks on the other server, but I was still not able to see the other server under Network.
What finally solved this issue was the following article:
http://www.edwardsd.co.uk/work/2011/05/enable-network-discovery-server-2008-r2/
The only thing one needs to do is try the following four steps in an Administrator Console:
net start "DNS Client"
net start "Function Discovery Resource Publication"
net start "SSDP Discovery"
net start "UPnP Discovery"
DNS Client, SSDP were already running and UPnP gave an error message which was not helpful.
But <net start "Function Discovery Resource Publication">
eventually did it. Run it on both servers and they will be able to see each other.
I was a little put off by documentation on NETBIOS, by running it over TCP/IP at first. But this was all not necessary. This one command made it all work again !
Hope this helps !
------------------------------------
Cannot remove SSL requirement to add an Exchange account in Mail
I need a way to remove the SSL requirement in order to add an Exchange account in the Mail app. The settings provided by the Mail app give the option to check/clear the SSL option AFTER the account is added... but that's not very useful if you can't add the account altogether because you can't remove the SSL requirement in the first place!
Any way to remove that requirement? Please help!
- Changed type Arthur Xie Tuesday, January 22, 2013 6:46 AM
Request for comment / peer review - Select-Item
Posted this yesterday:
http://gallery.technet.microsoft.com/scriptcenter/Select-Item-V-10-beta-5e579fa6
and I'm soliciting comments / suggestions from the community.
It's a function that implements a text-based menu to allow for manual selection / filtering of an array of objects in the middle of a pipeline. It's functionally similar to V3's Out-GridView using the -OutputMode switch, but compatible with V2, and text-based so it works in remoting scenarios, V3 systems that don't have the ISE installed, in PowerShell Web Access sessions.
It's also useful for quick filtering of a collection when working from the command line, or writing scripts to let the user filter one or more objects obtained from a get-* command (users, computers, groups, OU's , mailboxes, etc.) for further processing.
Hopefully the Help is sufficient to answer questions about the parameters.
I've been having problems getting anything to post to the forums from my work laptop (keep getting "Unexpected Server Error", but it seems to work find in the Repository, so I may be able to answer questions left in the QA on the submission sooner than if there left here.
Thanks.
PS - I'll get back to the splatting add-on as soon as I can get this put to bed.....
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Reply:
------------------------------------
Reply:
You're welcome.
Thanks to imfrancisd for providing feedback.
I have just uploaded an updated version that should fix all the reported bugs.
Still getting 'Uexpected Server Error' trying to post from my work laptop. Hope they get that fixed soon.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
- Edited by mjolinor Thursday, January 17, 2013 9:09 PM
------------------------------------
Reply:
Posted updated version (1.2)
This version gives you full control of the objects used for the menu display using the same Label/Expression hash tables used by Select-Object.
You can develop your desired menu display by using Select-Object and piping the selected objects to Format-Table -AutoSize. When you get the Select-Object arguments displaying the objects the way you want the menu to appear, just use those same arguments as the arguments of the -By parameter of Select-Item.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
------------------------------------
first try with caching
I am watching the video at http://channel9.msdn.com/Events/TechEd/NorthAmerica/2012/AZR309 and trying to follow along in order to create a cache.
I am apparently missing something in the setup as I am getting an exception when I attempt to instantiate the datacache.
At the
DataCache myDatacache; public string GetData(int value) { myDatacache = new DataCache(); return string.Format("You entered: {0}", value); } and in the webconfig I have
<dataCacheClients> <dataCacheClient name="default"> <autoDiscover isEnabled="true" identifier="WorkerRole1" /> <!--<localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlValue="300" />--> </dataCacheClient> </dataCacheClients>
And I used Nuget to add the caching refererences.
I enabled caching as a dedicated role on the worker1 and I have tried both enabled and not enabled on wcfServiceWebRole1.
However, when the code reaches the part when it tries to instantiate the code, it instead throws an Reflection error and the message is "System.Reflection.TargetInvocationException was unhandled by user code
HResult=-2146232828
Message=Exception has been thrown by the target of an invocation.
Source=mscorlib
StackTrace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.Initialize(String clientName)
at Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration..ctor()
at Microsoft.ApplicationServer.Caching.DataCacheFactory..ctor()
at Microsoft.ApplicationServer.Caching.DataCacheFactory.InitializeOrFetchSingletonFactoryInstance(String clientConfigurationName)
at Microsoft.ApplicationServer.Caching.DataCache..ctor(String cacheName, String clientConfigurationName)
at Microsoft.ApplicationServer.Caching.DataCache..ctor()
at WCFServiceWebRole1.Service1.GetUSANewsUp() in c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\WCFServiceWebRole1\Service1.svc.cs:line 36
at SyncInvokeGetUSANewsUp(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
InnerException: System.Runtime.InteropServices.SEHException
HResult=-2147467259
Message=External component has thrown an exception.
Source=msshrtmi
ErrorCode=-2147467259
StackTrace:
at RdGetApplicationConfigurationSetting(UInt16* , UInt16** )
at RoleEnvironmentGetConfigurationSettingValueW(UInt16* pszName, UInt16* pszDest, UInt32 cchDest, UInt32* pcchRequiredDestSize)
at Microsoft.WindowsAzure.ServiceRuntime.Internal.InteropRoleManager.GetConfigurationSetting(String name, String& ret)
at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.GetConfigurationSettingValue(String configurationSettingName)
at Microsoft.ApplicationServer.Caching.AzureCommon.TopologyHelper.GetServiceConfigurationSetting(String value)
at Microsoft.ApplicationServer.Caching.AzureCommon.TopologyHelper.TryGetServiceConfigurationSetting(String value, String& result)
at Microsoft.ApplicationServer.Caching.AzureCommon.DiagnosticsUtility.GetDiagnosticLevel(String propertyName)
at Microsoft.ApplicationServer.Caching.AzureCommon.DiagnosticsUtility.GetClientLogLevel()
at Microsoft.ApplicationServer.Caching.AzureClientHelper.RoleUtility.ReadClientLogLevel()
InnerException: ".
What have I overlooked or done wrong to cause this error to be thrown on the first line of the method GetData?
Thanks
- Edited by danielsn Wednesday, October 31, 2012 4:47 PM
Reply:
------------------------------------
Reply:
Folks, please ensure with 1.8, you are using the nuget package meant for 1.8
It should add a field Microsoft.windowsazure.plugins.caching.diagnosticlevel in server configuration.can you dump your cfcsgs here ,be sure to remove storage keys if any.
------------------------------------
Reply:
I have the October release. I will validate that I have the right Nuget as you suggested,
Thanks
------------------------------------
Reply:
------------------------------------
Reply:
Yea, I've got Microsoft.WindowsAzure.Caching 1.8.1. Below are my cscfgs. Thanks.
Cloud.cscfg:
-------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><ServiceConfiguration serviceName="WindowsAzure1" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="1" osVersion="*" schemaVersion="2012-10.1.8">
<Role name="WebRole1">
<Instances count="1" />
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.NamedCaches" value="{"caches":[{"name":"default","policy":{"eviction":{"type":0},"expiration":{"defaultTTL":10,"isExpirable":true,"type":1},"serverNotification":{"isEnabled":false}},"secondaries":0}]}" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.DiagnosticLevel" value="1" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage" value="30" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString" value="DefaultEndpointsProtocol=https;AccountName=XXXXXXXXXXXXXX;AccountKey=XXXXXXXXXXXXXX" />
</ConfigurationSettings>
</Role>
</ServiceConfiguration>
-------------------------------------------------
Local.cscfg:
-------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><ServiceConfiguration serviceName="WindowsAzure1" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="1" osVersion="*" schemaVersion="2012-10.1.8">
<Role name="WebRole1">
<Instances count="1" />
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.NamedCaches" value="{"caches":[{"name":"default","policy":{"eviction":{"type":0},"expiration":{"defaultTTL":10,"isExpirable":true,"type":1},"serverNotification":{"isEnabled":false}},"secondaries":0}]}" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.DiagnosticLevel" value="1" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage" value="30" />
<Setting name="Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString" value="DefaultEndpointsProtocol=https;AccountName=XXXXXXXXXXXXXX;AccountKey=XXXXXXXXXXXXXX" />
</ConfigurationSettings>
</Role>
</ServiceConfiguration>
Cloud.cscfg:
-------------------------------------------------
Cloud.cscfg:
-------------------------------------------------
------------------------------------
Reply:
------------------------------------
Reply:
I was in a bit of a hurry before work this AM, and overlooked this message. (I am new with Nuget and with wcf for azure, with Yesterday being the first day of using it)
What is the best way to give permissions? Does Nuget run as a service?
Here is the package I believe I installed.
Here is the local cscfg files.
<?xml version="1.0" encoding="utf-8"?> <ServiceConfiguration serviceName="TW_Azure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="1" osVersion="*" schemaVersion="2012-10.1.8"> <Role name="WCFServiceWebRole1"> <Instances count="1" /> <ConfigurationSettings> <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" /> </ConfigurationSettings> </Role> </ServiceConfiguration>
I have yet to actually setup the cloud account.
Thanks,
Daniel
- Edited by danielsn Thursday, November 1, 2012 3:15 PM
------------------------------------
Reply:
The permissions thing was a goose chase. I checked everything in to TFS, and then back out, and this fixed the permission issue, but the error message is still the same one.
However, I was not able to repeat this successfully either, and sometimes had to check in and out of TFS three or four times. The message on check in was
All of the changes were either unmodified files or locks. The changes have been undone by the server.
and doing this would eventually fix the permissions issue. (for about a half hour, and now it doesnt work to fix it anymore.)
It appears the wrong configuration manager was installed, as it was 1.7 and I found 1.8 also listed as installed and I removed the 1.7 and installed 1.8. However, after repeatedly checking in an out was not able to get beyond the permissions error even for a new WorkerRole3.
I always try to stay away from packages and magic because they are so often show stoppers like this, if there is a problem, and often they only survive one upgrade. Is there any way to accomplish this without using the Nuget "wizard"?
My current hypothesis relates to when I was installing the sdk. I used the download tool WPI and didnt realize I needed to look for an upgrade, as I selected it from the Windows 8 Desktop (or whatever it is called and not the web). It ran amok, installing VS2010 stuff on my otherwise clean computer. So, I will spend some time tryijng to clean that up and see if it helps.
- Edited by danielsn Thursday, November 1, 2012 3:51 PM
------------------------------------
Reply:
I uninstalled and reinstalled Azure Caching w/ NuGet. Still getting the error below. Please advise.
System.Reflection.TargetInvocationException was unhandled by user code
HResult=-2146232828
Message=Exception has been thrown by the target of an invocation.
Source=mscorlib
StackTrace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.Initialize(String clientName)
at Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration..ctor()
at Microsoft.ApplicationServer.Caching.DataCacheFactory..ctor()
at Microsoft.ApplicationServer.Caching.DataCacheFactory.InitializeOrFetchSingletonFactoryInstance(String clientConfigurationName)
at Microsoft.ApplicationServer.Caching.DataCache..ctor(String cacheName, String clientConfigurationName)
at Microsoft.ApplicationServer.Caching.DataCache..ctor(String cacheName)
at BPA.API.Controllers.HomeController.Test() in c:\dev\repos\Labs\BPA.API\Controllers\HomeController.cs:line 19
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.<>c__DisplayClass1.<WrapVoidAction>b__0(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeSynchronousActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.Async.AsyncResultWrapper.End[TResult](IAsyncResult asyncResult, Object tag)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
InnerException: System.Runtime.InteropServices.SEHException
HResult=-2147467259
Message=External component has thrown an exception.
Source=msshrtmi
ErrorCode=-2147467259
StackTrace:
at RdGetApplicationConfigurationSetting(UInt16* , UInt16** )
at RoleEnvironmentGetConfigurationSettingValueW(UInt16* pszName, UInt16* pszDest, UInt32 cchDest, UInt32* pcchRequiredDestSize)
at Microsoft.WindowsAzure.ServiceRuntime.Internal.InteropRoleManager.GetConfigurationSetting(String name, String& ret)
at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.GetConfigurationSettingValue(String configurationSettingName)
at Microsoft.ApplicationServer.Caching.AzureCommon.TopologyHelper.GetServiceConfigurationSetting(String value)
at Microsoft.ApplicationServer.Caching.AzureCommon.TopologyHelper.TryGetServiceConfigurationSetting(String value, String& result)
at Microsoft.ApplicationServer.Caching.AzureCommon.DiagnosticsUtility.GetDiagnosticLevel(String propertyName)
at Microsoft.ApplicationServer.Caching.AzureCommon.DiagnosticsUtility.GetClientLogLevel()
at Microsoft.ApplicationServer.Caching.AzureClientHelper.RoleUtility.ReadClientLogLevel()
InnerException:
------------------------------------
Reply:
Jborden,
I tried moving to a clean computer, where I had branched the code just prior to this. I carefully made sure all the nuget packages were correct, and upgraded where required. and then attempted to install the caching package, and I received many errors, mostly having to do with specific lines of text already existing, so not being able to update them. (not a problem with rights, but with already existing.)
My suspicion is that the nuget is the problem and if I simply start over with a new project, it will work.
Did you create the webservices themselves prior to installing the upgrade? I did.
It also appears that Nuget may have some TFS integration problems.
Anyway, the computer I moved to is pretty clean and I was not even able to successfully install the web caching package until the fourth try, when it finally reported small errors with writing to files, but otherwise worked.
My suspicion is that wcf and webroles and virtually everything related will need to be deleted, then created with new names (the TFS integration problem is the reason for new names) and then it will probably work, but I have to go to my regular job, so wont know until tonight.
If that doesnt work, then probably the best thing to do is to find a work around, wait six months and try again with the latest versions.
Also, on the first computer, the Cloud templates for .net 4.0 (or any) dont show up in VS2012, and a re-install of the SDK did not help this.
If starting over on the webservice doesnt work, I am going to extract an interface from DataCache (for the part I will use) and then write something local, and then try again in six months when this has had a chance to be fixed.
- Edited by danielsn Thursday, November 1, 2012 5:46 PM
------------------------------------
Reply:
Daniel:
We're not using TFS. I also didn't create any webservices or perform any upgrades. I just followed the tutorial i linked to earlier.
MSFT: How can i get this to work??
------------------------------------
Reply:
jborden,
The problem with the Nuget was solved by opening the solution offline, so I was able to install the Nuget without errors, so it was part of my problem, but apparently it wasnt "the problem." For me, TFS was conflicting with Nuget and not allowing the code to be installed.
Thank you for the information.
I will try one more time tonight to follow the tutorial, and if that doesnt work, I will just copy/paste/create a simple Singleton style class that follows an interface partially extracted from DataCache. Then, in a few months when either this is resolved, or my understanding of Azure is 100x more than it is now, I can just rename MySingletonDataCache to DataCache, and either it will work in the latest upgrade, or I will know how to fix the problem.
Daniel
------------------------------------
Reply:
Thanks Daniel. I'm thinking about just using memcached instead. Azure caching does not appear to be fully baked and who knows what other gremlins will pop up...
Best
Jeff
------------------------------------
Reply:
Jeff,
I found directions to do this without Nuget, unfortunately the XML is malformed in the examples and when you paste it into the web.config it raises errors.
Here is the link I am referring to.
http://msdn.microsoft.com/en-us/library/windowsazure/jj131262.aspx#BK_AddingCaching
If you can work around the built in errors, this is probably a better approach, than using Nuget.
Daniel
------------------------------------
Reply:
------------------------------------
Reply:
No, the example code was malformed and I didnt know how to fix it. When I pasted it in to my web.config as I was told to, it didnt have proper closing brackets, which was a big warning, and then it had properties that were not being recognized. I would not have stayed on this so long, but I have faith that MS would not release something that would not even instantiate without a runtime error, and that therefore it must be my fault. But now I am giving up.
I had over 100 warnings, and uninstalled the cache service, and they went away. So, without even using it, but just installing the package, it generates over 100 warnings.
No TFS issues today though.
Anyway, I have over sixteen hours in this, time to move on.
- Edited by danielsn Friday, November 2, 2012 8:02 PM
------------------------------------
Reply:
This is not something which we have seen very often (nuget failing). For helping us repro the problem, could you please provide the following information :
1. OS version
2. VS version and all tooling versions
3. Detailed steps to repro the issue
Additionally, incase you hit issues, Azure cache is now GA, you can engage Azure support resources if you hit errors.I was unable to repro the nuget install failure on my machines. Azure support should be able to help.
- Edited by Ankit Sud [MSFT] Saturday, November 3, 2012 11:14 AM
------------------------------------
Reply:
Ankit,
When I uninstalled and then reinstalled caching, then the 100+ warnings went away, which I guess means the malformed XML was also fixed.
For the TFS issue, it has been almost a week, so a bit fuzzy. When I branched again, I didnt have the problem with TFS anymore. It was something to do with the file being locked, I am pretty sure of that. When I would check it in, and then back out it fixed it for a while, but then that quit working. I have seen a similar issue with TFS with Service references too.
The issue with TFS was probably that if it couldnt write to something because of a lock, it should have failed and not shown as installed.
OS > WIndows 8 Pro
VS 2012 Ultimate
Nuget 2.0.30625
To reproduce the issue.
I dont know if there were any required initial coniditions, but here are the steps.
1. Create a new Azure WCF service, with no info on account with azure.
2. Go to manage Nuget and check for upgrades. There will be one.
3. Add a worker role and set it to dedicated caching.
4. Add caching for Azure v 1.8.... and apply to worker role and to Azure WCF
5. Update the web.config with "WorkerRole1" for identifier.
6. Add reference to wcf for Microsoft.ApplicationServer.Caching
7. Add DataCache and attempt to instantiate by running code and setting a break point.
8. F10 on the instantiation line and get error "Exception has been thrown by the target of an invocation"
I just repeated the steps and it still fails.
It also fails on my laptop, which has the same setup.
I am very new with Azure and caching, having played with Azure once a long time ago, and then when this problem started was my first time back. It is likely something I am doing wrong.
One possible clue if it isnt me, is that the Nuget shows two packages for
windows azure configuration manager version 1.7.0.3, and 1.8.0.0.
There is no detecting of needing to upgrade anything and they both show, but 1.8.0.0 doesnt show as installed anywhere.
If I uninstall from one, by unchecking the boxes, and then install the later this doesnt help.
I tried changing the permisions to everyone for the bin folder, and that didnt help.
Thanks for the help,
Daniel
- Edited by danielsn Saturday, November 3, 2012 3:36 PM
------------------------------------
Reply:
I found how to generate the 100+ warnings.
I noticed that I had the following setup.
So I removed the 1.7.0.0 from the Workrder role 1, and I then "upgraded" it to the 2.0 and this is when the error message StorageCliient does not exist and "WorkerRole dll was not found.
I also now have 100+ warnings, and even removing the workerrole doesnt make them go away, and I have a warning that says "No projects associated with workerrole1. And I am no longer able to "Update Service Reference" until I reinstall the azure caching package.
- Edited by danielsn Saturday, November 3, 2012 5:20 PM
------------------------------------
Reply:
I found how to generate the 100+ warnings.
I noticed that I had the following setup.
So I removed the 1.7.0.0 from the Workrder role 1, and I then "upgraded" it to the 2.0 and this is when the error message StorageCliient does not exist and "WorkerRole dll was not found.
I also now have 100+ warnings, and even removing the workerrole doesnt make them go away, and I have a warning that says "No projects associated with workerrole1. And I am no longer able to "Update Service Reference" until I reinstall the azure caching package.
Caching 1.8 has a dependency on the old storage lib from what I remember. So that could be the issue for this.
For the other stuff, I will see if someone can help repro and rootcause it. thanks for reporting.
------------------------------------
Reply:
As far as I can tell, something is renamed,such that where I had ".Azure" it was renamed to "Azure", so I have the path myproject.Azure renamed to myprojectAzure and TFS is confused when I try to check in the solution, but no problem with each project.
Looks like the thing to do is to construct a new solution and add each project, one at a time, this will also get rid of the 100+ warnings.
- Edited by danielsn Saturday, November 3, 2012 10:36 PM
------------------------------------
Reply:
------------------------------------
Reply:
If no proprietary code, please upload your solution to a service like skydrive and send a link to
myfirstname.mylastname@microsoft.com
Also please check the following for me please :
1. Cloud project should be the startup project
2. Try reducing instances to 1
The cache product team would take a look. Prima facie, this is an azure environment issue and not a caching issue. (The crashes above).
For TFS, maybe some other subforum shall be helpful.
------------------------------------
Reply:
Ankit,
Sorry for the delay, I just created another branch without caching so it wasnt an issue anymore, so I didnt check back anymore. If you want the code I can try to find it, but I am not pursuing that path right now so it is not an issue for me.
Thanks,
Daniel
- Edited by danielsn Sunday, November 11, 2012 4:31 PM
------------------------------------
Reply:
Sure Daniel, you can send it across.
For the initial exception, I am almost certain that the cloud project is not the startup and that would be the reason, may be you could quickly confirm.
------------------------------------
Reply:
Yes that is true.
I was using the Metro Store app as the start up project.
Also, I still have the metro app as the startup and it works okay. Is it just when I add caching that it has to be the startup? Could you explain why this is true, or provide a link perhaps?
Also, if I make the WCF layer the startup project, then how do I run and test the app? Do I open a second instance of VS?
Thanks,
- Edited by danielsn Tuesday, November 13, 2012 4:06 PM
------------------------------------
Reply:
Setting the cloud project as a startup project is what made it work for me - I was getting the exact same exception before when I had my wcf service web role as a startup project.If no proprietary code, please upload your solution to a service like skydrive and send a link to
myfirstname.mylastname@microsoft.com
Also please check the following for me please :
1. Cloud project should be the startup project
2. Try reducing instances to 1
The cache product team would take a look. Prima facie, this is an azure environment issue and not a caching issue. (The crashes above).
For TFS, maybe some other subforum shall be helpful.
------------------------------------
How to inactivate tasks which have actual work values?
Hi,
I'm using Project Pro 2010 and Project Server 2010.
I want to inactivate some tasks in my project plan. But these tasks have actual work values.
How can I inactivate the tasks?
Reply:
------------------------------------
Reply:
Thanks for your reply Khurram,
I know context menu for the action. But the problem is, I can not inactivate a task which has actual work on it.
- Edited by Nuri Ozturk Wednesday, January 16, 2013 1:40 PM
------------------------------------
Reply:
Set publish field to NO and remaining work to zero.
What are you trying to accomplish with the inactive task?
Cheers
Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
Website http://www.WhartonComputer.com
Blog http://MyProjectExpert.com contains my field notes and SQL queries
------------------------------------
Reply:
Thanks a lot.
It sounds good. This may be a good solution.
What I want to do is, in a project plan (that has a duration of 2 or more years), I want to disable the tasks of the previous year regardless of thieir "% Completed" or "Actual Work" values. Briefly, I don'want to see the last year's tasks in the project plan.
Thanks again.
------------------------------------
Reply:
Hi Michael,
It doesn't work.
------------------------------------
Reply:
Hi,
you cannot inactive tasks with actuals. If you want to archive the tasks, you can cut & paste these tasks to separate schedule or apply a filter in the view to hide them.
Hope this helps,
Renke
http://www.holert.com Project Management with MS Project - Oldenburg, Berlin, Munich/Germany
------------------------------------
Reply:
------------------------------------
Reply:
HI Nuri,
After finding your exact requirements, for which you were trying to use inactive task option, i believe using of pre-defined filter can work to achieve your objective.
since Inactive tasks option is available to help you to keep your original estimations of the project by not deleting the not-required tasks. The idea of inactivate doesnt work once any actual are reported for those tasks, you cannot inactivate them since they are actullay happend now.
Having said that, i would also like to highlight that project plan with such a huge duration ( 2years+) should not exist in first place. if i were be on your place, i would divide the project plan into phases to reduce the size of the project so that it would looks meaningful and easier to manage.
Hope this helps.
Khurram Jamshed - MBA, PMP, MCTS, MCITP ( Blog, Twitter, Linkedin )
------------------------------------
Trouble installing Exchange 2010 Hub Transport
Hi guys, it's a hard battle for installation here. I have a Windows 2008-level Domain (one DC is W2008 and has CA successfully deployed, the other one is newer R2). Installing Exchange 2010 on a third server (simple member, R2, no roles).
IIS and prerequisites are sorted out, now some vague certificate error:
Summary: 6 item(s). 4 succeeded, 1 failed.
Elapsed time: 00:03:56
Preparing Setup
Completed
Elapsed Time: 00:00:00
Stopping Services
Completed
Elapsed Time: 00:00:02
Copy Exchange Files
Completed
Elapsed Time: 00:00:09
Restoring services
Completed
Elapsed Time: 00:00:01
Hub Transport Role
Failed
Error:
The following error was generated when "$error.Clear();
Install-ExchangeCertificate -services IIS -DomainController $RoleDomainController
" was run: "An IIS directory entry couldn't be created. The error message is The system cannot find the path specified.
. HResult = -2147024893".
An IIS directory entry couldn't be created. The error message is The system cannot find the path specified.
. HResult = -2147024893
The system cannot find the path specified.
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.285.0&e=ms.exch.err.Ex88D115&l=0&cl=cp
Elapsed Time: 00:03:42
Finalizing Setup
Cancelled
- Changed type cube over Tuesday, June 7, 2011 1:17 AM resolved
Reply:
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
------------------------------------
Reply:
Check if you have IIS installed correctly.Run the below command to make sure:
Run it in PowerShell
Import-Module ServerManager
After the above command run the below one.
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
If it doesn't work than try Ed's suggestion, seems like the issue is with IIS, reinstalling the IIS should fix the issue.
When you are installing the IIS run the above command as it will insure that all the sub components are installed.
Cheers,
Gulab | MCITP: Exchange 2010-2007 | Skype: Gulab.Mallah | Blog: www.ExchangeRanger.blogspot.com
------------------------------------
Reply:
Thank you guys, I solved the issue.
I was missing DefaultWebSite in IIS. When I had "bad" IIS I delelted the DefaultWebSite. That did not help, so I removed IIS role completely, to let SETUP.COM figure it out.
But when Exchange Installer added IIS, the DefultWebSite was not re-created.
Obviously it is needed to install certificate. I created the site manually.
Case closed.
------------------------------------
Reply:
Hi
I am having same Issue, I have tried removing/adding IIS. I can browse to Default Website. I am trying to install it on DC(test environment). Could someone help me please.
Setup Logs as follow:
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.RefreshCache()
at System.DirectoryServices.DirectoryEntry.FillCache(String propertyName)
at System.DirectoryServices.PropertyCollection.KeysCollection.GetEnumerator()
at Microsoft.Exchange.Management.Metabase.IisUtility.GetProperties(DirectoryEntry webObj)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Management.Metabase.IisUtility.GetProperties(DirectoryEntry webObj)
at Microsoft.Exchange.Management.Metabase.IisUtility.GetWebSiteSslCertificate(String webObjectPath)
at Microsoft.Exchange.Management.SystemConfigurationTasks.InstallExchangeCertificate.FindIisCertificate()
at Microsoft.Exchange.Management.SystemConfigurationTasks.InstallExchangeCertificate.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
[01/20/2013 00:15:49.0090] [1] [ERROR] The following error was generated when "$error.Clear();
Install-ExchangeCertificate -services IIS -DomainController $RoleDomainController
if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true)
{
Install-AuthCertificate -DomainController $RoleDomainController
}
" was run: "An IIS directory entry couldn't be created. The error message is The system cannot find the path specified.
. HResult = -2147024893".
[01/20/2013 00:15:49.0091] [1] [ERROR] An IIS directory entry couldn't be created. The error message is The system cannot find the path specified.
. HResult = -2147024893
[01/20/2013 00:15:49.0091] [1] [ERROR] The system cannot find the path specified.
[01/20/2013 00:15:49.0091] [1] [ERROR-REFERENCE] Id=BridgeheadExchangeCertificate___36d297b411f94919bc8c6ba9c9c39131 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[01/20/2013 00:15:49.0092] [1] Setup is stopping now because of one or more critical errors.
[01/20/2013 00:15:49.0092] [1] Finished executing component tasks.
[01/20/2013 00:15:49.0280] [1] Ending processing Install-BridgeheadRole
------------------------------------
Reply:
------------------------------------

No comments:
Post a Comment