all, We are using office automation to convert excel and word to htm we had severa issues like access denied exception etc. and for this issue to solve we followed KB article of MS to configure office under specific user account, but the problem is because security issues we cant follow KB article(http://support.microsoft.com/kb/288367/), by looking at KB article what i felt is they are trying to create a profile for local administrator user. So my question can any body have any alternate for this?? We accept tht we went for bad design, but we dont have any other alternative as this is a must requirement from customer. Please any cluse any information you have.
IamADotNetGuy
Posts
-
Office automation -
Automation of excel and wordall, We are using office automation to convert excel and word to htm we had severa issues like access denied exception etc. and for this issue to solve we followed KB article of MS to configure office under specific user account, but the problem is because security issues we cant follow KB article(http://support.microsoft.com/kb/288367/), by looking at KB article what i felt is they are trying to create a profile for local administrator user. So my question can any body have any alternate for this?? We accept tht we went for bad design, but we dont have any other alternative as this is a must requirement from customer. Please any cluse any information you have.
-
Finding the new windowAll, How to identify a window opened with CTRL+N option, for example when a new window is opened with CTRL+N option i want to show alert message saying in 'You opened with CTRL+N option'.
-
ASPNET ImpersonationHi How do i impersonate a piece of code, i dont want to set impersonate=true for whole apllication instead i want one particluar piece of code to impersonate. And the code to impersonate is related to office automation
-
Problem with office automationHi, We are trying to convert word and excel to html format, we are using late binding to support different version of office. We have already taken care of setting dcom security to interactive user and also we have given [B]'launch and active'[/B] and [B]'Access permissions'[/B] for aspnet(Network service in case of 2003) user. The problem is it works absolutely fine in some systems, but it will not work in some systems and throws error as Unauthorizedaccess for CreateObject call. The only difference i could see in working and non working system is, in working system dcom services of excel and word are running with name like "Microsoft Excel Application", but in nonworking system these servies are runnig with GUID like "00020812-0000-0000-C000-000000000046", and this is just a difference i saw I am really not sure whether problem is because of this only or not. PS: We are no supposed to impersonate aspnet user, so in our web confgi we set impersoantion to false.
-
How to save office documents displayed in IframeAll, Is there anyway to save the office documents opened in Iframe, For eg: user will see a word doc and he will make some changes in Iframe only, can you suggest me how to save this file, file is stored in network folder but not as a websharing folder. ActiveX and Upload and download is not allowed as our customer doesnt want. It is some thing like iframe.doc.save("filepath") :):):-D Regards,
-
Session Expiry In Modalless windowHi All I have a page from a modaldialog is poped up and from there a modalless dialog is popped up, Here comes the problem if i have any other site is opened (for ex www.codeproject.com) and if i try to open the modalless window from modal window then mu page will look for other site session. Can any body let me know abt this!!! Its little urgent Thanks
-
Scrollable DataGridI have a scrollable datagrid, and I can select datagrid row, when i select a row from the grid, it will postback and the grid will scroll to top. what should i do so that grid wont scroll when i select any row
-
Scrollable DataGridWe have a Datagrid in which some data is displayed. dataGrid is scrollable(with fixed header, Using div tags) and paging is not implemented. According to some search criteria specified, I need to highlight a particular row(set selecetdIndex) in the grid. The problem is, selected row is going out of focus as the grid is scrollable one(inside div). I mean, the row for which I need to set the selectedIndex might be the last one also. Is there any way to auto-scroll the grid. Or Can I control the location of scroll-bar programmatically based on the selectedindex value of the Datagrid? Hope it is clear
-
Scrollable DataGridWe have a Datagrid in which some data is displayed. dataGrid is scrollable(with fixed header, Using div tags) and paging is not implemented. According to some search criteria specified, I need to highlight a particular row(set selecetdIndex) in the grid. The problem is, selected row is going out of focus as the grid is scrollable one(inside div). I mean, the row for which I need to set the selectedIndex might be the last one also. Is there any way to auto-scroll the grid. Or Can I control the location of scroll-bar programmatically based on the selectedindex value of the Datagrid? Hope it is clear
-
Forms Based AuthenticationIs there any significance of Forms Based Authentication for an INTRANET application?
-
SmartClientHi To All I have seen in almost all groups to my surprice nobody shown interest in SmartClient, So please do let me know if any of you are interested we can request a seperate group in code project. Please do join me for this.
-
Two Assemblies in GACHey too good articles............. solved too many doubts I had............. Prabhu Ram Prasath's dothis guy have some more aricles on anything like this...... And as I am sending u the reply I have one more question...... How does reflection helps GAC and Also WebServices, Bcoz I have seen so many exmples where people use refletions to call web service methods. I dont what might be the exact reason. Regards,
-
Two Assemblies in GACis it possible to have two assemblies having same attributes. please let me know if there are any good documents for this.
-
Ref Key wordAs we know we can pass the parameters by ref and also by val. Sometimes we will pass object as reference type even though they are already reference type. Please feel free to say dont be stupid
-
Hybrid AuthenticationHi To All I have two applications, one cretaed under another(Avirtual directory iside another virtual directory) The first virtual directory has different Windows authentication and the second(created under the first)has got forms authentication. when i try to access the forms authentication page it doesnt allow me to access bcoz of the conflicts with the authetication modes Please do let me know if you have answer for this
-
SmartClientHi To All I am developing a smartclient application, which has got a webservice contains a method to insert a row in the database table, I am using Microsoft application block for Queuing and Caching mechanisim, Caching mechanisim works fine... But when try to put the service in a queue its giving me the following error "An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in microsoft.applicationblocks.cache.dll Additional information: Configuration information is not available." in the cache service class... This is taking hell out of time from me... Please let me know what and all i should configure when i use Microsoft Application Block, It would be great helpful if you provide the more information on this..
-
HTTP ubiquitous errorHi All I got this error many times... I dont know why.... Can any body help on this The request failed with HTTP status 401: Unauthorized. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
-
ShoModaDialogHi I have a ShowModalDialog window, which pops up on clicking on the button, The modal dialog windo contains datagrid, Now i have a problem... The datagrid will bind at the page load time, But when paging event happens the grid is not binding (Paging is working fine without modal dialog and code is correct) And I am using for the modal dialog window. But Still I am in confusion why the paging event is not firing properly... Please send me if u any suggestions for this.
-
ShowModalDialogHi I have a ShowModalDialog window, which pops up on clicking on the button, The modal dialog windo contains datagrid, Now i have a problem... The datagrid will bind at the page load time, But when paging event happens the grid is not binding (Paging is working fine without modal dialog and code is correct) And I am using for the modal dialog window. But Still I am in confusion why the paging event is not firing properly... Please send me if u any suggestions for this.