how to convert excel file to pdf in web application using PDFCREATOR.
how to convert excel file to pdf in web application using PDFCREATOR.
It's working in local enviorment but when i do host the application in iis.It's not working.
Please help me if u have any idea.
- Edited by Santosh Yadu Friday, May 29, 2015 8:32 PM
- Moved by KareninstructorMVP Sunday, June 7, 2015 2:42 AM Moved from C# forum as this is a vendor issue
Reply:
Hello,
Have you tried contacting the company who created PDF Creator?
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my webpage under my profile but do not reply to forum questions.
------------------------------------
Reply:
Why do you need a web app to do it?! If you can live with an Excel Macro, feel free to use this . . .
Sub Convert_Excel_To_PDF() Dim MyPath As String, FilesInPath As String Dim MyFiles() As String, Fnum As Long Dim mybook As Workbook Dim CalcMode As Long Dim sh As Worksheet Dim ErrorYes As Boolean Dim LPosition As Integer 'Fill in the path\folder where the Excel files are MyPath = "c:\Documents and Settings\shuerya\Desktop\ExcelFiles\" FilesInPath = Dir(MyPath & "*.xl*") If FilesInPath = "" Then MsgBox "No files found" Exit Sub End If Fnum = 0 Do While FilesInPath <> "" Fnum = Fnum + 1 ReDim Preserve MyFiles(1 To Fnum) MyFiles(Fnum) = FilesInPath FilesInPath = Dir() Loop With Application CalcMode = .Calculation .Calculation = xlCalculationManual .ScreenUpdating = False .EnableEvents = False End With If Fnum > 0 Then For Fnum = LBound(MyFiles) To UBound(MyFiles) Set mybook = Nothing On Error Resume Next Set mybook = Workbooks.Open(MyPath & MyFiles(Fnum)) On Error GoTo 0 If Not mybook Is Nothing Then LPosition = InStr(1, mybook.Name, ".") - 1 mybookname = Left(mybook.Name, LPosition) mybook.Activate 'All PDF Files get saved in the directory below: ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _ "C:\Documents and Settings\shuerya\Desktop\PDFFiles\" & mybookname & ".pdf", _ Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _ :=False, OpenAfterPublish:=False End If mybook.Close SaveChanges:=False Next Fnum End If If ErrorYes = True Then MsgBox "There are problems in one or more files, possible problem:" _ & vbNewLine & "protected workbook/sheet or a sheet/range that not exist" End If With Application .ScreenUpdating = True .EnableEvents = True .Calculation = CalcMode End With End Sub
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.
------------------------------------
Reply:
------------------------------------
Reply:
------------------------------------
Reply:
------------------------------------
[URGENT] Dying Domain Controller
Seems we have a server that is the DC that has a single disk and i can hear it clicking. It still boots and runs but i am not taking a chance. I have it offline and taking a WIM image of the drive. This DC is the only DC and has all the exchange info in AD and all the RDS info in AD not to mention all the other DC info!!! Here's my plan of attack:
take image (hopefully). Replace the single drive and apply that image to the new drive. Power it back up and good to go
BUT
if that does not work i guess i will have to rebuild it. It currently is 2008 R2 and we have 2012. So i would rebuild it as a 2012 DC. This server is an older poweredge 860 with a single CPU and 4GB RAM. So i think i would not make it a hyper-v server and just install 2012 straight with a GUI. Then on a hyper-v server, create a DC to mirror the physical DC server. That way if 1 goes down, the network is still up and running. So 2 questions, does anyone see a problem or better way with the above process? If not, what is the best way to do this? Maybe a tech document that you know of? Thanks for any help
Reply:
So according to:
https://support.microsoft.com/en-us/kb/281662
this is not supported?
- It is not recommend to combine the Active Directory Domain Services role and the Failover Cluster feature on Windows Server 2003, Windows Server 2008, or Windows Server 2008 R2
- It is not supported to combine the Active Directory Domain Services role and the Failover Cluster feature on Windows Server 2012
Maybe i am not searching for the correct terms? Used server 2008 r2 ha. Any ideas?
------------------------------------
Reply:
OK, so the server DID have a RAID and so i replaced the faulty drive and all is good now. Except i want to add DC redundancy. So this page says to add a secondary DC:
http://blog.hyperexpert.com/how-to-add-a-secondary-domain-controller-with-integrated-dns-in-windows-server-2012/
So the primary DC is server 2008 R2 and the secondary will be server 2012 R2. Can i do that? My end goal is top get the primary DC redundant, then take down the primary DC and rebuild with server 2012 R2. Is this possiblem with this type of setup?
------------------------------------
Reply:
To answer my own question and for anyone else who finds this thread:
Yes, server 2012 R2 as a secondary DC worked fine with a server 2008 R2 DC
------------------------------------
To use Windows Feedback, you must be registered with the Windows Insider Preview Programme , and connected to the Internet the first time you run the feedback app.
- Changed type Brandon RecordsModerator Tuesday, June 16, 2015 7:25 PM No issue or question presented.
- Moved by Brandon RecordsModerator Tuesday, June 16, 2015 7:25 PM Moved to more appropriate forum.
"setup can't find or validate an installation file"popup message while setup of ms-office 2013 please help me windows 7, 32bit operating system please please please help me
"setup can't find or validate an installation file.please try reinstalling..."can u please help me i have spent 5 days for fixing problem but no use,someone please help me fix my problem and give correct suggestions i downloaded 32bit 666MB ms office 2013 but it showing setup error pls help me i have spent so much of data in fixing it but no use pls replay for my question
your regards,
Arjun
Reply:
"setup can't find or validate an installation file.please try reinstalling..."can u please help me i have spent 5 days for fixing problem but no use,someone please help me fix my problem and give correct suggestions i downloaded 32bit 666MB ms office 2013 but it showing setup error pls help me i have spent so much of data in fixing it but no use pls replay for my question as soon as possible because of our projects.
your regards,
Arjun
------------------------------------
Reply:
I am getting the same error installing Project Pro 2013 and Visio 2013. I can tell you one thing for sure, it is the machine that has the problem. Both of my installs have worked on over 50 machines.
It would be nice if someone could reply to this from MS. After all this is a MS Technet website.
------------------------------------
Reply:
May be this can help?
But I think the easiest way to fix this is to reinstall the complete client.
regards Holger Technical Specialist UC
------------------------------------
Releasing ISOs for Windows 10 Insider Preview Build 10130
Hi everyone, today we are releasing the ISOs for Windows 10 Insider Preview Build 10130. We are not, however, releasing Build 10130 to the Slow ring due to several bugs we're looking to fix. Once we have these fixes in hand and ready to push out to Windows Update, we'll consider pushing Build 10130 to the Slow ring. I know we said we would only release ISOs if we push a build to the Slow ring but we're making a special exception today. We know that a bunch of Windows Insiders on the Fast ring are currently blocked getting to the latest build due a 0x80146017 error. With the ISOs, they can mount the image and upgrade directly from the ISO and get unblocked.
Thanks,
g
Cheers,
Drew
Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com
Dll file issue
Reply:
Carey Frisch
------------------------------------
How to create Guage KPIs Using Excel- Power Pivot, Power BI
Hi All,
Here I am creating Guage KPIs Using SSAS(BIDS).
1. My Question is, Can I Show that Guage KPI With the same type of symbol in EXCEL.
(for this I am Accessing the data from SSAS CUBE to Excel)
OR
2. Can I create the guage KPIs using EXCEL by importing the data from other sources.
(Means Lets assume I did not create any KPIs in SSAS CUBE. And I am importing the CUBE data from SSAS to Excel. Then, from EXCEL can I create the Guage KPI using that CUBE data)
SUPRAJA'S
- Moved by Tina-Shi Friday, May 29, 2015 2:56 AM the issue is related to the Power Pivot
- Changed type Michael Amadi Sunday, October 11, 2015 9:35 AM No response
Reply:
Hi SUPRAJA'S,
Thank you for posting in MSDN forum.
Since this issue is related to the SQL Power Pivot, so we will move this case to the Power Pivot forum:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=sqlkjpowerpivotforexcel, you will get better support.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
------------------------------------
Reply:
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!
------------------------------------
Change Power Pivot Connection String for Text files int he data model
- Changed type Michael Amadi Thursday, August 13, 2015 9:12 PM No response
Reply:
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!
------------------------------------
Replace square brackets in SQL queries against ODBC
We use PowerPivot to access an ODBC provider. PowerPivot generates queries with square brackets, which is not ANSI compliant and incompatible with this ODBC provider. In Office 2010, we had a workaround by modifying this file:
C:\Program Files\Microsoft Analysis Services\AS OLEDB\110\sql2000.xsl
and replace the '[' and ']' with double quotes.
!-- SQL Server 2000 pluggable cartridge --><!-- Area of STANDARD parametrizations: these are externally passed -->
<xsl:param name="in_CanUseParams">yes</xsl:param>
<xsl:param name="in_IdentStartQuotingCharacter">[</xsl:param>
<xsl:param name="in_IdentEndQuotingCharacter">]</xsl:param>
However, this workaround does not seem to work after we upgraded to Office 2013. PowerPivot doesn't appear to read this cartridge file anymore. We are familiar with the option to manually write queries to bypass this issue, but we still like to use the generated queries. Is there another way to replace the square brackets?
- Changed type Michael Amadi Thursday, October 8, 2015 8:12 PM No response
Reply:
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!
------------------------------------
sharepoint 2010 powerpivot 2010
Administrators have installed SSAS 2008 R2 Service pack 3. Since then in the excel power pivot reports , the slicers are not working. Also I ma unable to configure the refresh options for the power pivot reports.
When I click on Configure the the refresh link its shows unexcpeted error and when checked with logs files , here is the details.
Could you please let me know how to fix the issue?
When I try to open the report, it shows error in screenshot.
0x01FC Excel Services Application Excel Calculation Services d51n Medium MossHost.GetEndpointAddres
05/08/2015 08:26:30.02 w3wp.exe (0x0188) 0x01FC SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://sp-prd-pp01:32843/
05/08/2015 08:26:32.50 w3wp.exe (0x0188) 0x01FC SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://gohsep.net:44
05/08/2015 08:26:32.50 w3wp.exe (0x0188) 0x01FC SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://gohsep.net:44
05/08/2015 08:26:32.50 w3wp.exe (0x0188) 0x01FC SharePoint Foundation Logging Correlation Data xmnv Medium Site=/rec 456d444d-1f5d-4bd3-a49a-16
05/08/2015 08:26:32.53 w3wp.exe (0x0188) 0x01FC SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=14.4548399307733 456d444d-1f5d-4bd3-a49a-16
05/08/2015 08:26:32.55 w3wp.exe (0x0188) 0x01FC SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://sp-prd-pp01:32843/
05/08/2015 08:26:32.61 w3wp.exe (0x0188) 0x01FC SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://sp-prd-pp01:32843/
05/08/2015 08:26:32.66 w3wp.exe (0x0188) 0x38D0 SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://sp-prd-apps02:3284
05/08/2015 08:26:32.66 w3wp.exe (0x0574) 0x0474 SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://sp-prd-apps02:3284
05/08/2015 08:26:33.17 w3wp.exe (0x0188) 0x01FC SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteWcfOperation:http:
05/08/2015 08:26:33.17 w3wp.exe (0x0188) 0x01FC SSAS Mid-Tier Service Unknown 99 High EXCEPTION: System.ServiceModel.Securi
05/08/2015 08:26:33.17* w3wp.exe (0x0188) 0x01FC SSAS Mid-Tier Service Unknown 99 High ...thrown at [0]: at System.Runtime.Remoting.Pr
05/08/2015 08:26:33.17 w3wp.exe (0x0188) 0x01FC SSAS Mid-Tier Service Unknown 15 Medium Proxy encountered an error while trying to get the sandbox information. This request will be terminated 456d444d-1f5d-4bd3-a49a-16
05/08/2015 08:26:33.17 w3wp.exe (0x0188) 0x01FC SharePoint Foundation Runtime tkau Unexpected System.ServiceModel.Securi
05/08/2015 08:26:33.17* w3wp.exe (0x0188) 0x01FC SharePoint Foundation Runtime tkau Unexpected ...]: at System.Runtime.Remoting.Pr
05/08/2015 08:26:33.17* w3wp.exe (0x0188) 0x01FC SharePoint Foundation Runtime tkau Unexpected ...nt.Integration.GeminiSe
05/08/2015 08:26:33.17* w3wp.exe (0x0188) 0x01FC SharePoint Foundation Runtime tkau Unexpected ...ndlerDelegateProxy.Call