Showing posts with label Errors and bugs. Show all posts
Showing posts with label Errors and bugs. Show all posts

Sunday, February 12, 2017

Getting error while generating azure package || Azure Package & Config file generation

Getting error while generating azure package


  1. The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters and the directory name must be less than 248 characters. C:\Program Files (x86)\MSBuild\Microsoft\Cloud Service\1.0\Visual Studio 10.0\Microsoft.cloud service.targets 202 5 FileSystemCreator
  2. Rename the folder where the project is present with a shorter name.
Follow the below procedure to Fix:
  1. Go to the Cloud Service project folder.
  2. Edit the user cloud service options file (*.ccproj file) in notepad. 
  3. Add the ServiceOutputDirectory element with the value "c:\azure" for example.
  4. Open the solution in Visual Studio again and the error has gone.
  5. Example:






Sunday, January 29, 2017

Getting error while trying to run a console app for updating excel data: Oledb.12.0 provider is not registered on the local machine.

Getting error while trying to run a console app for updating excel data: Oledb.12.0 provider is not registered on the local machine.



Solution:

If you are trying to update excel data which is either of higher or lower version this error is thrown. Just you need to check your file version and update it with the currently existing version.

It occurs due to incompatibility issues.

ex. :update your excel file(version).