# IsolatedStorageException calling StoreKeys in an ASP.NET application

The QLM API provides 2 helper methods for storing the license keys on the end user system and reading them back (StoreKeys/ReadKeys).

When operating in the context of an ASP.NET application, the user running the ASP.NET application needs to have the required privileges to write to the file system.

The recommended approach is to create a specific Application Pool for your ASP.NET Application (virtual directory) and then set the identity of the Application Pool to a specific user. If you are using IIS 7.x, you may also want to set the **LoadUserProfile** property of the Application Pool to true.

\
If you do not want to follow the recommendation above, you can store the license keys in any location of your choice. The StoreKeys/ReadKeys APIs are optional and offer a quick convenient way to store and read license keys. If your application is associated with a database, for example, you can store the keys in your database.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.soraco.co/docs/troubleshooting/isolatedstorageexception-calling-storekeys-in-an-asp.net-application.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
